How to upload files to FTP server?

  • Posted on: 27 June 2013
  • By: bayfan

       File Transfer Protocol (FTP) is a standard network protocol used to transfer files from one host to another host over a TCP-based network, such as the Internet. FTP was in use since year 1971. And is still actively used by webmaster and internet engineers. FTP is easy to use and fast to transfer big files and folders. After you login into the ftp server,  you can operate file and folders just like what you do at your local disk.

    How to use FTP? Well, first, you need an ftp client to upload or download files to ftp server, if you don't want to use command line. And using ftp client will be quiet covenient if you want to upload a lots of files or you need to connect to ftp server regularly.

Method I: install an ftp client software.

We would recommand to you to download an free open source ftp client software Filezilla ftp clients. (You can also visit Filezilla official website to get more info). Choose the right version for your Operation System to download. And install it. Then just input ftp server info include server name, user name and password given by us. You can drag and drop the file, and which start upload autometically.


Method II: use buildin ftp client already in your OS (If you don't want to install something on your computer)


    A.    For Microsoft Windows 7 (Same for Windows 8, Windows Vista, Win XP)

It's quiet simple for Win systems to use ftp. Just click: Win + E,(Or right click Start to open file explorer). Type the ftp server name (e.g.  in the address, and a window will pop out for you to input user name and passwords. And  that's all!  Now you can use the ftp server just as your local disk.


   B.  For Mac OS X

Did you know that your Mac has a built-in FTP client? You don’t need to download any additional software to connect to FTP sites from Mac OS X, instead you can connect to remote servers directly from your desktop.
FTP from your Mac

If you want to test this by connecting to a real server, use and login as a Guest

    From your Mac desktop hit Command+K to pull up the “Connect to Server” window (alternatively, you can access this from the “Go” menu)
    Enter the address of the ftp server in the following format:
    If you want to add a bookmark to ‘Favorite Servers’ for repeated connections, click on the + icon next to the “Server Address” field
    Click on “Connect” and wait to connect to the remote server
    Enter the FTP username and password, or connect as “Guest” if the server allows guest connections and click on “Connect” again

Note about FTPS Connections: If you want to connect to an FTPS server, just prefix the domain with the ftps:// rather than ftp:// if the server has SSL support.

Now that you are connected to the FTP server, you can browse the remote server like any other local folder on your Mac. Just note that if you drag or drop a file to or from the server it will attempt to transfer that file.


By default the window will show as a minified Finder window, but you can hit the silver button on the far right to expand the window to your familiar Mac OS X Finder style. The other benefit to expanding the window is that you get the forward and back arrow navigation buttons, in addition to sorting options to browse through the FTP server by icon, name, etc.

Obviously the FTP features in Mac OS X are not as developed as third party FTP clients like Transmit or Cyberduck, but if you’re in a bind and just need to quickly connect to a remote FTP, it’s more than adequate. If you need more advanced features, both of the aforementioned apps are fantastic and integrate well with other apps. This paragraph original is from osxdaily


Method III Use command lines

This is something old fashion geek way without GUI. It's quiet simple after you familiar with the command lines. And you don't need to install anything.


A. Use FTP Through the Command Line in Mac OS X

1. Connecting to an FTP Server

To establish a connection with an FTP server, you’ll need to know your username and password, in addition to the server you’re connecting to (i.e. “”). To open a connection in Terminal (located in /Applications/Utilities), type the following command, replacing the underlined portions with your server:


After a few seconds, you’ll be prompted for your username and password by the server. Type those in, pressing enter after entering each piece of information.

2. Browsing Around

After you’ve gotten the “ftp>” line displayed, you can issue the FTP server a command. To list the files in a particular folder, type ls (that’s LS in lower-case), then press enter.

Files will have a dash (-) as the first character in the leftmost column and folders will have a d listed (the d stands for directory).

To navigate into a folder, type cd (as in “change directory”), followed by the directory name you want to change to. Then, press enter to send the command to the server.

So, if I wanted to list the files in my Documents Folder, I would first type in:

ftp> cd Documents

ftp> ls

The files and folders in the Documents folder would then be listed. I could further navigate to another folder or download/upload a file to the current directory.

3. Uploading or Downloading from the Server

Download a file is easy. First, navigate to the folder containing the file you want to download. Next, type in the following command, specifying the file you want to download in place of the underlined text:

get file_name_here.pdf

Any files you download will appear in the Home directory of the currently logged in user on your Mac.

Uploading a file to the server is just as easy. Instead of “get”, you’re going to use “put” then the filename of the file on your local machine. So, if I had a file on my Desktop called Downloads.rtf that I wanted to put on the server in my Documents folder, I would type the following command:

put ~/Desktop/Download.rtf ~/Documents/Download.rtf

The first statement after the put command is the location on your local machine containing the file, in this case, ~/Desktop/Download.rtf; the second statement is the location on the server where the file should reside after upload, in this case ~/Documents/Download.rtf.

4. List of Commands

As you can see, the command line FTP client can be great when you’re in a pinch and need to do some basic FTP server work. Just to recap, here’s a list of the basic commands that you can use with the FTP client built into Mac OS X.

put filename - Upload a file to the server

get filename - Download a file from the server

mput filename - Put multiple files on the server

mget filename - Get multiple files on the server

ls - Get a list of files in the current directory

cd - Change directory

quit - Ends your ftp session

This paragraph original is from Cory Bohon


    B. Linux/Unix

      man ftp



   For confidential materials, we can also give you a SFTP server to upload files.