Recursive ftp upload/download
Today we have to upload the whole directory tree to our site. How we can do it? If you use regular ftp
command, this task becomes tedious and exhaustive job. You have to recreate each directory, change to each directory locally and remotely and perform mput
or mget
. If you have complex directory structure it is almost impossible to do that without a mistake. Solution? – Use lftp
instead. It has mirror feature which allows to copy entire directory tree. To upload, use -R switch.
Wednesday, September 12th, 2007