We are in LFTP | Version 3.7.11 with Linux 2.6.18-128.el5 an Readline 5.1
We are having problems when sending under ssh a file with the –a switch.
The fact is that lftp hangs waiting for the last package. I mean, file gets 
sent, but then something does not come back, so lftp goes into error mode, 
timeout, retry, error mode, timeout…..


lftp userid@machine:/adm_recepcion> put -a prueba
FileCopy(0x19a00ce0) enters state INITIAL
FileCopy(0x19a00ce0) enters state GET_INFO_WAIT
FileCopy(0x19a00ce0) enters state INITIAL
FileCopy(0x19a00ce0) enters state DO_COPY
---- path on wire is `/adm_recepcion/prueba'
PackUINT32BE(0x00000000)
---> sending a packet, length=38, type=3(OPEN), id=12
PackUINT32BE(0x00000026)
PackUINT8(0x03)
PackUINT32BE(0x0000000C)
PackUINT32BE(0x00000015)
PackUINT32BE(0x0000001A)
PackUINT32BE(0x00000000)
copy: get hit eof
copy: waiting for put confirmation
FileCopy(0x19a00ce0) enters state CONFIRM_WAIT
<--- got a packet, length=17, type=102(HANDLE), id=12
---- got file handle 3032356236303430 (8)
---> sending a packet, length=757, type=6(WRITE), id=13
PackUINT32BE(0x000002F5)
PackUINT8(0x06)
PackUINT32BE(0x0000000D)
PackUINT32BE(0x00000008)
PackUINT64BE(0x0000000000000000)
PackUINT32BE(0x00000000)
PackUINT32BE(0x00000000)
PackUINT32BE(0x000002D8)
<--- got a packet, length=19, type=101(STATUS), id=13
---- status code=0(OK), message=OK
**** Timeout - reconnecting
---- Disconnecting
try_time=0, retries=0
FileCopy(0x19a00ce0) enters state DO_COPY
---- Running connect program (ssh -a -x -s -l userid machine sftp)
---> sending a packet, length=5, type=1(INIT), id=0
PackUINT32BE(0x00000005)
PackUINT8(0x01)
PackUINT32BE(0x00000004)
<--- got a packet, length=5, type=2(VERSION), id=0
---- protocol version set to 3
---> sending a packet, length=30, type=17(STAT), id=1
PackUINT32BE(0x0000001E)
PackUINT8(0x11)
PackUINT32BE(0x00000001)
PackUINT32BE(0x00000015)
<--- got a packet, length=37, type=105(ATTRS), id=1
---- file info: size=728, date=Thu Jan 12 16:52:57 2012
copy: put rolled back to 728, seeking get accordingly
copy: get position was 780
copy dst: seek past eof (seek_pos=728, size=728)
---- path on wire is `/adm_recepcion/prueba'
PackUINT32BE(0x00000000)
---> sending a packet, length=38, type=3(OPEN), id=2
PackUINT32BE(0x00000026)
PackUINT8(0x03)
PackUINT32BE(0x00000002)
PackUINT32BE(0x00000015)
PackUINT32BE(0x0000000A)
PackUINT32BE(0x00000000)
put: cannot seek on data source
<--- got a packet, length=17, type=102(HANDLE), id=2
---> sending a packet, length=17, type=4(CLOSE), id=3
PackUINT32BE(0x00000011)
PackUINT8(0x04)
PackUINT32BE(0x00000003)
PackUINT32BE(0x00000008)
<--- got a packet, length=19, type=101(STATUS), id=3
---- status code=0(OK), message=OK




_________________________
Rafael Hidalgo Eguiagaray
Empresa: INDRA SISTEMAS

________________________________
Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, 
contiene información de carácter confidencial exclusivamente dirigida a su 
destinatario o destinatarios. Si no es vd. el destinatario indicado, queda 
notificado que la lectura, utilización, divulgación y/o copia sin autorización 
está prohibida en virtud de la legislación vigente. En el caso de haber 
recibido este correo electrónico por error, se ruega notificar inmediatamente 
esta circunstancia mediante reenvío a la dirección electrónica del remitente.
Evite imprimir este mensaje si no es estrictamente necesario.

This email and any file attached to it (when applicable) contain(s) 
confidential information that is exclusively addressed to its recipient(s). If 
you are not the indicated recipient, you are informed that reading, using, 
disseminating and/or copying it without authorisation is forbidden in 
accordance with the legislation in effect. If you have received this email by 
mistake, please immediately notify the sender of the situation by resending it 
to their email address.
Avoid printing this message if it is not absolutely necessary.
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to