Thank you Alexander for the response, much appreciated. Alexander V. Lukyanov <lav <at> netis.ru> writes:
> As you see, the server does not respond anymore. > 2147450880+32768 = 0x80000000, just the signed int overflow. > > I think it is a bug on the server, but it can also be caused by > incorrectly formed requests. You can try to download a large > file from annother sftp server to find the actual reason for this > misbehavior. The SFTP server is able to accept >2GB files as I can successfully upload from an Ubuntu version of lftp. Here are logs from lftp on Ubuntu "put 3gb_file" to the exact same SFTP server: ---- path on wire is `/3gb_file' ---> sending a packet, length=26, type=3(OPEN), id=1346 <--- got a packet, length=10, type=102(HANDLE), id=1346 ---- got file handle 36 (1) ---> sending a packet, length=32790, type=6(WRITE), id=1347 ---> sending a packet, length=32790, type=6(WRITE), id=1348 ---> sending a packet, length=32790, type=6(WRITE), id=1349 ---> sending a packet, length=32790, type=6(WRITE), id=1350 ---> sending a packet, length=32790, type=6(WRITE), id=1351 ---> sending a packet, length=32790, type=6(WRITE), id=1352 ---> sending a packet, length=32790, type=6(WRITE), id=1353 ---> sending a packet, length=32790, type=6(WRITE), id=1354 ---> sending a packet, length=32790, type=6(WRITE), id=1355 ---> sending a packet, length=32790, type=6(WRITE), id=1356 <--- got a packet, length=49, type=101(STATUS), id=1347 ---- status code=0(OK), message=The write completed successfully ---> sending a packet, length=32790, type=6(WRITE), id=1357 ---> sending a packet, length=32790, type=6(WRITE), id=1358 <--- got a packet, length=49, type=101(STATUS), id=1348 ---- status code=0(OK), message=The write completed successfully <--- got a packet, length=49, type=101(STATUS), id=1349 ... (snip) ... <--- got a packet, length=49, type=101(STATUS), id=99647 ---- status code=0(OK), message=The write completed successfully <--- got a packet, length=49, type=101(STATUS), id=99648 ---- status code=0(OK), message=The write completed successfully <--- got a packet, length=49, type=101(STATUS), id=99649 ---- status code=0(OK), message=The write completed successfully <--- got a packet, length=49, type=101(STATUS), id=99650 ---- status code=0(OK), message=The write completed successfully <--- got a packet, length=106, type=101(STATUS), id=99651 ---- status code=3(Permission denied), message=The requested operation cannot be performed because there is a file transfer in progress. <--- got a packet, length=40, type=101(STATUS), id=99652 ---- status code=0(OK), message=The operation completed copy: put confirmed store copy: get is finished - all done ---- Closing idle connection ---- Disconnecting The previous logs showing the 2GB limit were from the AIX put. Can I assume lftp running on AIX was compiled without largefile support? Jimmy -----Original Message----- From: Alexander V. Lukyanov [mailto:l...@netis.ru] Sent: Thursday, March 01, 2012 11:13 PM To: Choi, Jimmy@CIO Cc: lftp@uniyar.ac.ru Subject: SPAM: Re: [lftp] lftp only transferring 2GB On Thu, Mar 01, 2012 at 06:10:56PM -0800, Choi, Jimmy@CIO wrote: > ---> sending a packet, length=22, type=5(READ), id=65560 This is the last request with a response. > ---> 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 This is the last response. > ---> sending a packet, length=22, type=5(READ), id=65576 > **** Timeout - reconnecting As you see, the server does not respond anymore. 2147450880+32768 = 0x80000000, just the signed int overflow. I think it is a bug on the server, but it can also be caused by incorrectly formed requests. You can try to download a large file from annother sftp server to find the actual reason for this misbehavior. -- Alexander. _______________________________________________ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp