[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: transfer files



On Wed, May 17, 2000 at 08:35:27PM -0400, Chris Mason wrote
> I'm used to transferring whole directory trees with ws-ftp under windows.
> When using Linux fom the shell, what's the easiest way to do the same thing?
> 

lftp is a simple, scriptable command-line ftp client
that has a 'mirror' command and never gives up.

E.g:

lftp server.my.org <<EOF
lcd /source/directory
mirror -ev . /destination/directory/
EOF

will get there even under the most adverse conditions 
(e.g., hang up & redial a different ISP).

You can even exit lftp, and have your transfers continue in
the background.


John P.
-- 
huiac@camtech.net.au
john@huiac.apana.org.au
http://www.mdt.net.au/~john Debian Linux admin & support:technical services



Reply to: