Website general: Understanding How FTP Works

Search:
Understanding How FTP Works

Data exchange has been important from the early days of computing. A popular means of data exchange is connecting computers to one another.

The File Transfer Protocol (FTP) is used to transfer files between two computers over a network and Internet. In this article we will look at how to work with FTP a client.

What is FTP?

When you want to copy files between two computers that are on the same local network, often you can simply "share" a drive or folder, and copy the files the same way you would copy files from one place to another on your own PC.

What if you want to copy files from one computer to another that is halfway around the world? You would probably use your Internet connection. However, for security reasons, it is very uncommon to share folders over the Internet. File transfers over the Internet use special techniques, of which one of the oldest and most widely-used is FTP. FTP, short for "File Transfer Protocol," can transfer files between any computers that have an Internet connection, and also works between computers using totally different operating systems.

Transferring files from a client computer to a server computer is called "uploading" and transferring from a server to a client is "downloading".

 

Requirements for using FTP

  1. An FTP client like Auto FTP Manager installed on your computer
  2. Certain information about the FTP server you want to connect to:
    a. The FTP server address. This looks a lot like the addresses you type to browse web sites.
         Example : Server address is "ftp.mydomain.net".
         Sometimes the server address will be given as a numeric address, like "264.185.225.87".
    b. A user name and password. Some FTP servers let you connect to them anonymously.
        For anonymous connections, you do not need a user name and password.

To transfer files, provide your client software (Auto FTP Manager) with the server address, user name, and password. After connecting to the FTP server, you can use Auto FTP Manager's File Manager to upload, download and delete files. Using the File Manager is a lot like working with Windows Explorer.

FTP and Internet Connections
FTP uses one connection for commands and the other for sending and receiving data. FTP has a standard port number on which the FTP server "listens" for connections. A port is a "logical connection point" for communicating using the Internet Protocol (IP). The standard port number used by FTP servers is 21 and is used only for sending commands. Since port 21 is used exclusively for sending commands, this port is referred to as a command port. For example, to get a list of folders and files present on the FTP server, the FTP Client issues a "LIST" command. The FTP server then sends a list of all folders and files back to the FTP Client. So what about the internet connection used to send and receive data? The port that is used for transferring data is referred to as a data port. The number of the data port will vary depending on the "mode" of the connection. (See below for Active and Passive modes.)

Active and Passive Connection Mode

The FTP server may support Active or Passive connections, or both. In an Active FTP connection, the client opens a port and listens and the server actively connects to it. In a Passive FTP connection, the server opens a port and listens (passively) and the client connects to it. You must grant Auto FTP Manager access to the Internet and to choose the right type of FTP Connection Mode.

Most FTP client programs select passive connection mode by default because server administrators prefer it as a safety measure. Firewalls generally block connections that are "initiated" from the outside. Using passive mode, the FTP client (like Auto FTP Manager) is "reaching out" to the server to make the connection. The firewall will allow these outgoing connections, meaning that no special adjustments to firewall settings are required.

If you are connecting to the FTP server using Active mode of connection you must set your firewall to accept connections to the port that your FTP client will open. However, many Internet service providers block incoming connections to all ports above 1024. Active FTP servers generally use port 20 as their data port. It's a good idea to use Passive mode to connect to an FTP server. Most FTP servers support the Passive mode. For Passive FTP connection to succeed, the FTP server administrator must set his / her firewall to accept all connections to any ports that the FTP server may open. However, this is the server administrator's problem (and standard practice for servers). You can go ahead, make and use FTP connections.

Once the FTP Client manages to open the internet connections, one for command and one for data, it starts communicating with the FTP server. You are now ready to transfer your files and folders between the two connected computers.

Other tutorials in Website general:

 

Popular Tutorials:


Testimonial

April 1, 2020
Konstantinos Diamantakos from Hamilton, On, Canada:
 I have been using a few of the scripts from EGN and I had the best experience using and creating any page, program, changes to marketing plan in minutes.... Great scripts... The service through the years and so many scripts is has always been GREAT. Really great scripts, and best support, they respond in time and my issues are solved very fast. Great job, thank you EGN 

Latest News

August 4, 2025:
We are happy to announce you that the newest version of egMLM is now available. The newest version is v2.4 and its comes with functions: Now working with PHP 8.2 Improvement with Clean URL functions Improvement string input and processing Improvement with online store checkout process Improvement with Rank rewards function & layout Improvement with Pool rewards function & layout Improvement with member tags for editing mails and contents Fix problem with email validation on new member registration Improvement with Admin & Member dasboard security Improvement with Templating system Improvement with Email sending And other improvements and fixes, please visit demo of egMLM to see more Download your copyThe update is available to download in your account area and update instruction is available in product tutorials. Please log in to your account area to access them.   Best regards, EGN Software - Your best partner to build your success online business   
July 28, 2025:
We are happy to announce you that the newest version of egMLM with Revenue Sharing is now available. The newest version is v1.3 and its comes with functions: Now working with PHP 8.2 Improvement with Clean URL functions Improvement string input and processing Improvement with reward points Improvement with Rank rewards function & layout Improvement with Pool rewards function & layout Improvement with online store checkout process Improvement with member tags for editing mails and contents Fix problem with email validation on new member registration Improvement with Admin & Member dasboard security Improvement with Templating system And other improvements and fixes, please visit demo of egMLM + Revenue Sharing to see more Download your copyThe update is available to download in your account area and update instruction is available in product tutorials. Please log in to your account area to access them.   Best regards, EGN Software - Your best partner to build your success online business   
July 22, 2025:
We are happy to announce you that the newest version of egMLM with Advertisements is now available. The new version is v.15 and its comes with functions: Now working with PHP 8.2 Fix problem with email validation on new member registration Improvement with new member Regular matrix placement Fix problem with Pool bonus distribution New improved Admin and members dashboard Added BNB Smart Chain Metamask Wallet so total 30 payment plugins now available Improvement with error reporting Security patches for members area and admin area Improvement with TinyMCE content editor Improvement with Rank reward and Pool rewards Improvement with error reporting And other improvements and fixes, please visit demo of egMLM + Advertisement to see more Download your copyThe update is available to download in your account area and update instruction is available in product tutorials. Please log in to your account area to access them.   Best regards, EGN Software   
February 12, 2025:
An update of egMLM + Revenue Sharing is available (v1.2). egMLM + Revenue Sharing is getting better with improvement and new features such as: Now developed with PHP 8 Clean URL for frontpage & online store areas Improvement with design of Admin & Members dashboard, Frontpage and Store areas. Many new payment plugins and new method of payment method New method of withdrawal request to add more security Function to send text message by SMS or WhatsApp Text Message Security improvement on the shopping cart and the payment options. Security patches for members area and admin area Improvement with all Genealogy Trees Improvement Revolving matrix & Regular matrix Improvement with Revenue Sharing functions Improvement with TinyMCE content editor Improvement with Email Auto Follow Up Improvement with Admin functions & details Improvement with menus Improvement with Online store Improvement with error reporting And other improvements and fixes, please visit demo of egMLM + Revenue Sharing to see more Download your copyThe update is available to download in your account area and update instruction is available in product tutorials. Please lo... 
January 22, 2025:
An update of egMLM now available, The current version is 2.3 and egMLM is better with improvement and new features such as: Now work with PHP 8 Clean URL for frontpage areas Improvement with design of Admin & Members dashboard, Frontpage and Store areas. Many new payment plugins and new method of payment method New method of withdrawal request to add more security Function to send text message by SMS or WhatsApp Text Message Security improvement on the shopping cart and the payment options. Security patches for members area and admin area Improvement with all Genealogy Tree Improvement with error reporting Improvement with TinyMCE content editor Improvement with Email Auto Follow Up Improvement with Admin functions Improvement with menus And other improvements and fixes, please visit demo website to see more... Download your copyThe update is available to download in your account area and update instruction is available in product tutorials. Please log in to your account area to access them.   Best regards, EGN Software  

Accepted Payments