lftp hangs

thdox <[email protected]> Sat, 23 Jun 2007 17:35:34 +0200
Newsgroups gmane.network.lftp.devel
Message-ID <[email protected]>
Hi all,

I am using lftp to back-up data from my PC to a ftp site using command like
lftp <remotesite> -e "mirror --verbose --reverse --delete 
<localpc>/Documents <remotepath> ; exit"

This works fine for me on one directory, but hangs on a second directory.
I've read this 
http://www.mail-archive.com/[email protected]/msg01457.html and 
this looks close (expect that both local and remote machine are the 
same, only directories differ), and from changelog looks to have been 
solved on 3.5.2.

But I am using lftp 3.5.6 on Ubuntu 7.04 with kernel 2.6.20-16 and I am 
reporting that it stills hangs.

As proposed in linked above I did strace on lftp and this hangs by 
endlessly repeating following lines

read(4, 0x8106910, 65536)               = -1 EAGAIN (Resource 
temporarily unavailable)
read(4, 0x8106910, 65536)               = -1 EAGAIN (Resource 
temporarily unavailable)
poll([{fd=4, events=POLLIN}], 1, 1000)  = 0
gettimeofday({1182611415, 284460}, NULL) = 0

Best regards,

Thierry