On Tue, 12 May 2009, Rajagopal Swaminathan wrote:

Greetings,

I wrote a bash script to mirror an ftp site.

lftp -u 'username' ftp://ftpsite.com -d -e "set ftp:ssl-allow false;mirror -vc
--log=/home/dnld/logs/lftp.log --parallel=10 /sourcedir/ /home/dnld/Dnld;exit"

uname -a
Linux localhost.localdomain 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:19:18 EDT
2009 i686 i686 i386 GNU/Linux

For obvious reasons, I have had to hide exact details

After going through initial handshakes etc. the download seem to stall

I am usign a fully CentOS 5.3 box.

Is there a method to log the filenames that are downloaded?

Could somebody please point out where I went wrong


Thanks and Regards

Rajagopal


Hello,

1. Have you tried it with 1 download (take out the --parallel)?
2. What does the log say?
3. What are you trying to do? There may be shorter (syntax) way to do
   what you're attempting to do.

Justin.

Reply via email to