Version: 4.3.1, OS: AIX PPC.  Protocol: SFTP

We have been testing lftp with large files (>2GB) and notice the transfer hangs 
after 2GB:

---> sending a packet, length=22, type=5(READ), id=65558
<--- got a packet, length=32777, type=103(DATA), id=65557
---- data packet: pos=2147352576, size=32768
---> sending a packet, length=22, type=5(READ), id=65559
<--- got a packet, length=32777, type=103(DATA), id=65558
---- data packet: pos=2147385344, size=32768
---> sending a packet, length=22, type=5(READ), id=65560
---> sending a packet, length=22, type=5(READ), id=65561
---> sending a packet, length=22, type=5(READ), id=65562
---> sending a packet, length=22, type=5(READ), id=65563
---> sending a packet, length=22, type=5(READ), id=65564
---> sending a packet, length=22, type=5(READ), id=65565
---> sending a packet, length=22, type=5(READ), id=65566
---> sending a packet, length=22, type=5(READ), id=65567
---> sending a packet, length=22, type=5(READ), id=65568
---> sending a packet, length=22, type=5(READ), id=65569
---> sending a packet, length=22, type=5(READ), id=65570
---> sending a packet, length=22, type=5(READ), id=65571
---> sending a packet, length=22, type=5(READ), id=65572
---> sending a packet, length=22, type=5(READ), id=65573
---> sending a packet, length=22, type=5(READ), id=65574
<--- got a packet, length=32777, type=103(DATA), id=65559
---- data packet: pos=2147418112, size=32768
---> sending a packet, length=22, type=5(READ), id=65575
<--- got a packet, length=32777, type=103(DATA), id=65560
---- data packet: pos=2147450880, size=32768
---> sending a packet, length=22, type=5(READ), id=65576
**** Timeout - reconnecting
---- Disconnecting

I have verified the SFTP server accepts large files as lftp 4.3.1 on Ubuntu can 
transfer a 3GB file to the same server.

Based on this response 
http://www.mail-archive.com/lftp@uniyar.ac.ru/msg00994.html:

By default, lftp tries to use large file support of the operating system if
it is available. It is also important that the ftp server also supports
large files.

We verified that /usr/bin/sftp can transfer a 3GB file so I assume this means 
the OS supports large files.  Can we safely conclude that our copy of lftp was 
compiled without largefile support (e.g. configure --disable-largefile)?

Thanks,
Jimmy

_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to