Hello,
Lftp | Version 3.0.6 | Copyright (c) 1996-2004 Alexander V. Lukyanov This is free software with ABSOLUTELY NO WARRANTY. See COPYING for details. Send bug reports and questions to <[email protected]>. I am running lftp sftp in bash shell script executing these commands: (trying to upload a 6kb file, very small) open -u xxxxxx,xxxxxx sftp://xxxx.xxxxxxxx.com debug -tcp 11 set max-retries 0 set set-term-status yes put -a /p01/data/ftptest/enrollos500-compaid/Enrollment.txt -o /ftadv:R=500,B=0,O=FB,SPACE_UNIT=TRKS,PRIMARY_SPACE=100,SECONDA RY_SPACE=5////'TECS.SSHTEST.FTP(+1)' put -a /p01/data/ftptest/enrollos500-compaid/Enrollment.txt -o /ftadv:R=500,B=0,O=FB,SPACE_UNIT=TRKS,PRIMARY_SPACE=100,SECONDA RY_SPACE=5////'pecs.ecfe.ose.compaid.bn.data(+1)' close quit The process just hangs and eventually needs to be killed. The output after killing the process (from scripting) is as follows: [3733] 2008-01-16 10:46:14 ---- Running connect program (ssh -ax -s -l ftpxxxx xxxx.hxxxxxx.com sftp) [3733] 2008-01-16 10:46:14 ---> sending a packet, length=5, type=1(INIT), id=0 [3733] 2008-01-16 10:46:14 PackUINT32BE(0x00000005) [3733] 2008-01-16 10:46:14 PackUINT8(0x01) [3733] 2008-01-16 10:46:14 PackUINT32BE(0x00000004) [3733] 2008-01-16 10:46:14 copy: get hit eof [3733] 2008-01-16 10:46:14 copy: waiting for put confirmation [3733] 2008-01-16 10:46:17 cpuf.hxxxxxxx.com <--- hxxxxxxx [3733] 2008-01-16 10:46:17 <--- This system is subject to monitoring and by your use of this system [3733] 2008-01-16 10:46:17 cpuf.hxxxxxxx.com <--- you are consenting to monitoring. Unauthorized use of this system [3733] 2008-01-16 10:46:17 <--- subjects you to criminal prosecution and penalties! [3733] 2008-01-16 10:46:17 cpuf.hxxxxxxx.com <--- [3733] 2008-01-16 10:46:17 cpuf.hxxxxxxx.com <--- [EMAIL PROTECTED]'s password: XXXX [3733] 2008-01-16 10:46:18 cpuf.hxxxxxxx.com <--- got a packet, length=33, type=2(VERSION), id=0 [3733] 2008-01-16 10:46:18 cpuf.hxxxxxxx.com ---- protocol version set to 3 [3733] 2008-01-16 10:46:18 cpuf.hxxxxxxx.com ---> sending a packet, length=10, type=16(REALPATH), id=1 [3733] 2008-01-16 10:46:18 cpuf.hxxxxxxx.com PackUINT32BE(0x0000000A) [3733] 2008-01-16 10:46:18 cpuf.hxxxxxxx.com PackUINT8(0x10) [3733] 2008-01-16 10:46:18 cpuf.hxxxxxxx.com PackUINT32BE(0x00000001) [3733] 2008-01-16 10:46:18 cpuf.hxxxxxxx.com PackUINT32BE(0x00000001) [3733] 2008-01-16 10:46:18 cpuf.hxxxxxxx.com <--- got a packet, length=47, type=104(NAME), id=1 [3733] 2008-01-16 10:46:18 cpuf.hxxxxxxx.com ---- home set to /__ftpxxxx. [3733] 2008-01-16 10:46:18 cpuf.hxxxxxxx.com PackUINT32BE(0x00000000) [3733] 2008-01-16 10:46:18 cpuf.hxxxxxxx.com ---> sending a packet, length=114, type=3(OPEN), id=2 [3733] 2008-01-16 10:46:18 cpuf.hxxxxxxx.com PackUINT32BE(0x00000072) [3733] 2008-01-16 10:46:18 cpuf.hxxxxxxx.com PackUINT8(0x03) [3733] 2008-01-16 10:46:18 cpuf.hxxxxxxx.com PackUINT32BE(0x00000002) [3733] 2008-01-16 10:46:18 cpuf.hxxxxxxx.com PackUINT32BE(0x00000061) [3733] 2008-01-16 10:46:18 cpuf.hxxxxxxx.com PackUINT32BE(0x0000000A) [3733] 2008-01-16 10:46:18 cpuf.hxxxxxxx.com PackUINT32BE(0x00000000) [3733] 2008-01-16 10:46:19 cpuf.hxxxxxxx.com <--- got a packet, length=17, type=102(HANDLE), id=2 [3733] 2008-01-16 10:46:19 cpuf.hxxxxxxx.com ---- got file handle 4EFFFFFFC7FFFFFFCE084EFFFFFFC7FFFFFFC550 (8) [3733] 2008-01-16 10:46:19 cpuf.hxxxxxxx.com PackUINT32BE(0x00000001) [3733] 2008-01-16 10:46:19 cpuf.hxxxxxxx.com PackUINT64BE(0x0000000000000000) [3733] 2008-01-16 10:46:19 cpuf.hxxxxxxx.com PackUINT32BE(0x00000000) [3733] 2008-01-16 10:46:19 cpuf.hxxxxxxx.com PackUINT32BE(0x00000000) [3733] 2008-01-16 10:46:19 cpuf.hxxxxxxx.com ---> sending a packet, length=29, type=10(FSETSTAT), id=3 [3733] 2008-01-16 10:46:19 cpuf.hxxxxxxx.com PackUINT32BE(0x0000001D) [3733] 2008-01-16 10:46:19 cpuf.hxxxxxxx.com PackUINT8(0x0A) [3733] 2008-01-16 10:46:19 cpuf.hxxxxxxx.com PackUINT32BE(0x00000003) [3733] 2008-01-16 10:46:19 cpuf.hxxxxxxx.com PackUINT32BE(0x00000008) [3733] 2008-01-16 10:46:19 cpuf.hxxxxxxx.com PackUINT32BE(0x00000001) [3733] 2008-01-16 10:46:19 cpuf.hxxxxxxx.com PackUINT64BE(0x0000000000000000) [3733] 2008-01-16 10:46:19 cpuf.hxxxxxxx.com PackUINT32BE(0x00000000) [3733] 2008-01-16 10:46:19 cpuf.hxxxxxxx.com PackUINT32BE(0x00000000) [3733] 2008-01-16 10:46:19 cpuf.hxxxxxxx.com <--- got a packet, length=21, type=101(STATUS), id=3 [3733] 2008-01-16 10:51:19 **** Timeout - reconnecting [3733] 2008-01-16 10:51:19 ---- Disconnecting [3733] 2008-01-16 10:51:19 try_time=1200498374, retries=0 [3733] 2008-01-16 10:51:19 cpuf.hxxxxxxx.com ---- Running connect program (ssh -ax -s -l ftpxxxx cpuf.hxxxxxxx.com sftp) [3733] 2008-01-16 10:51:19 cpuf.hxxxxxxx.com ---> sending a packet, length=5, type=1(INIT), id=0 [3733] 2008-01-16 10:51:19 cpuf.hxxxxxxx.com PackUINT32BE(0x00000005) [3733] 2008-01-16 10:51:19 cpuf.hxxxxxxx.com PackUINT8(0x01) [3733] 2008-01-16 10:51:19 cpuf.hxxxxxxx.com PackUINT32BE(0x00000004) [3733] 2008-01-16 10:51:20 cpuf.hxxxxxxx.com <--- XXXXXXXX [3733] 2008-01-16 10:51:20 cpuf.hxxxxxxx.com <--- This system is subject to monitoring and by your use of this system [3733] 2008-01-16 10:51:20 cpuf.hxxxxxxx.com <--- you are consenting to monitoring. Unauthorized use of this system [3733] 2008-01-16 10:51:20 cpuf.hxxxxxxx.com <--- subjects you to criminal prosecution and penalties! [3733] 2008-01-16 10:51:20 cpuf.hxxxxxxx.com <--- [3733] 2008-01-16 10:51:20 cpuf.hxxxxxxx.com <--- [EMAIL PROTECTED]'s password: XXXX [3733] 2008-01-16 10:51:21 cpuf.hxxxxxxx.com <--- got a packet, length=33, type=2(VERSION), id=0 [3733] 2008-01-16 10:51:21 cpuf.hxxxxxxx.com ---- protocol version set to 3 [3733] 2008-01-16 10:51:21 cpuf.hxxxxxxx.com ---> sending a packet, length=106, type=17(STAT), id=1 [3733] 2008-01-16 10:51:21 cpuf.hxxxxxxx.com PackUINT32BE(0x0000006A) [3733] 2008-01-16 10:51:21 cpuf.hxxxxxxx.com PackUINT8(0x11) [3733] 2008-01-16 10:51:21 cpuf.hxxxxxxx.com PackUINT32BE(0x00000001) [3733] 2008-01-16 10:51:21 cpuf.hxxxxxxx.com PackUINT32BE(0x00000061) [3733] 2008-01-16 10:51:21 cpuf.hxxxxxxx.com <--- got a packet, length=140, type=101(STATUS), id=1 [3733] 2008-01-16 10:51:21 copy: get hit eof [3733] 2008-01-16 10:51:21 copy: waiting for put confirmation [3733] 2008-01-16 10:51:21 cpuf.hxxxxxxx.com PackUINT32BE(0x00000000) [3733] 2008-01-16 10:51:21 cpuf.hxxxxxxx.com ---> sending a packet, length=114, type=3(OPEN), id=2 [3733] 2008-01-16 10:51:21 cpuf.hxxxxxxx.com PackUINT32BE(0x00000072) [3733] 2008-01-16 10:51:21 cpuf.hxxxxxxx.com PackUINT8(0x03) [3733] 2008-01-16 10:51:21 cpuf.hxxxxxxx.com PackUINT32BE(0x00000002) [3733] 2008-01-16 10:51:21 cpuf.hxxxxxxx.com PackUINT32BE(0x00000061) [3733] 2008-01-16 10:51:21 cpuf.hxxxxxxx.com PackUINT32BE(0x0000000A) [3733] 2008-01-16 10:51:21 cpuf.hxxxxxxx.com PackUINT32BE(0x00000000) [3733] 2008-01-16 10:51:21 copy: put rolled back to 0, seeking get accordingly [3733] 2008-01-16 10:51:21 copy: get position was 5523 [3733] 2008-01-16 10:51:21 copy: get hit eof [3733] 2008-01-16 10:51:21 copy: waiting for put confirmation [3733] 2008-01-16 10:51:21 <--- got a packet, length=17, type=102(HANDLE), id=2 [3733] 2008-01-16 10:51:21 ---- got file handle 4EFFFFFFC7FFFFFFCE004EFFFFFFC7FFFFFFC238 (8) [3733] 2008-01-16 10:51:21 PackUINT32BE(0x00000001) [3733] 2008-01-16 10:51:21 PackUINT64BE(0x0000000000000000) [3733] 2008-01-16 10:51:21 PackUINT32BE(0x00000000) [3733] 2008-01-16 10:51:21 PackUINT32BE(0x00000000) [3733] 2008-01-16 10:51:21 ---> sending a packet, length=29, type=10(FSETSTAT), id=3 [3733] 2008-01-16 10:51:21 PackUINT32BE(0x0000001D) [3733] 2008-01-16 10:51:21 PackUINT8(0x0A) [3733] 2008-01-16 10:51:21 PackUINT32BE(0x00000003) [3733] 2008-01-16 10:51:21 PackUINT32BE(0x00000008) [3733] 2008-01-16 10:51:21 PackUINT32BE(0x00000001) [3733] 2008-01-16 10:51:21 PackUINT64BE(0x0000000000000000) [3733] 2008-01-16 10:51:21 PackUINT32BE(0x00000000) [3733] 2008-01-16 10:51:21 PackUINT32BE(0x00000000) [3733] 2008-01-16 10:51:21 <--- got a packet, length=21, type=101(STATUS), id=3 Any suggestions? Thank you, Robb
