Migrate a site or folder tree recursively over FTP via the command line (ncftp)

Problem:

  • You are moving a web site or folder tree from one computer to another via FTP
  • The source computer is Linux
  • You can’t use the basic FTP program because it doesn’t recurse directories

Solution:
Use ncftp. Install it if necessary, cd to the root of the folder you want to put to the FTP server and then run the following command:
ncftpput -u myFTPusername -p myFTPpassword -R myftp.server.com .

One thought on “Migrate a site or folder tree recursively over FTP via the command line (ncftp)

  1. Definitely, what a fantastic website and informative posts, I definitely will bookmark your blog.All the Best! geeckbeegdde

Leave a Reply to Johne245 Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>