Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hello, I am trying to use ftp to transfer the entire contents of a folder, and recursively transfer any folders within it.
Does anyone have any expertise on this? thank you.
You may have several way to do this.
Your transfert is between to Linux box or not ??
If it is, U can use a <tar> command to make an archive and get it with ftp.
You can use <pax> which can transfert file between two host.
You can use rsync to synchro two hosts.
Hope it's helps
At the most basic level, I believe that ftp will not do that. You DO have mput and mget for moving multiple files. eg to upload a folderful, simply type "mput *"
For download, I am on shaky ground--I have found that wild cards often don't work at the target end--thus I don't know how to take advantage of --eg--mget.
I appreciate all your responses. This is from linux to linux, and needs to run in middle of night from cron. Do you have more information on the ftp-mirror command? thanks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.