1. On the local system, change to the source directory. The local working directory refers to the one from which you type your ftp command, which makes it the source directory in this instance.
  2. Set up an ftp connection.
  3. Switch to the target directory.
    ftp> cd target-directory

    Keep in mind, for those using the automounter in their system, your home directory is parallel to the remote system’s user, under /home.

  1. Make sure that you have written permission to the target directory.
    ftp> ls -l target-directory
  2. Ensure the transfer type to binary. 
    ftp> binary
  1. Use the following command to copy a single file.
    ftp> put filename
  1. Use the following command if you aim to copy several files at one time.
    ftp> mput filename [filename …]

You can implement wildcard characters and supply a series of individual file names. Every file is copied individually, with a confirmation from you every time. 

  1. Just type bye in order to close the FTP connection.
    ftp> bye

 

Popular Posts You May Read

Explore more hosting insights, tips and industry updates.

Top Six Factors That Will Help in Choosing the Right VPS Hosting

Virtual Private Server Hosting is booming day by day. VPS is a virtualization technology that helps…

How to Install Apache on a Dedicated Server

How to Install Apache on a Dedicated Server

If you want to install Apache on a dedicated server, this step-by-step guide will help.…

How Can You Change The Hostname In cPanel Web Host?

In this post, we will show you how to change your cPanel web host’s hostname.…