Discussion:
Error message in lftp output what does it mean
Macko, Robb E
2013-02-25 14:12:19 UTC
Permalink
Hello,

We are receiving the error message below, and customer is reporting that data is truncated.

What does this mean? Is there a fix for it?

status code=0(OK), message=The write completed successfully
<--- got a packet, length=49, type=101(STATUS), id=19955
---- status code=0(OK), message=The write completed successfully
<--- got a packet, length=49, type=101(STATUS), id=19956
---- status code=0(OK), message=The write completed successfully
<--- got a packet, length=49, type=101(STATUS), id=19957
---- status code=0(OK), message=The write completed successfully
<--- got a packet, length=106, type=101(STATUS), id=19958
---- 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=19959
---- status code=0(OK), message=The operation completed
---- path on wire is `/OUTBOUND/transfer2.webmdhealth.com/EDW-sftpput/TEST_HMRK_ECIDXREF_20130215.txt'
---> sending a packet, length=88, type=11(OPENDIR), id=19960
<--- got a packet, length=10, type=102(HANDLE), id=19960
---- got file handle 31 (1)
---> sending a packet, length=10, type=12(READDIR), id=19961
<--- got a packet, length=215, type=104(NAME), id=19961
---- file name count=1
---> sending a packet, length=10, type=12(READDIR), id=19962
---> sending a packet, length=10, type=12(READDIR), id=19963
<--- got a packet, length=17, type=101(STATUS), id=19962
---- status code=1(EOF), message=
---- eof
<--- got a packet, length=17, type=101(STATUS), id=19963
---- status code=1(EOF), message=
---> sending a packet, length=10, type=4(CLOSE), id=19964
---- Disconnecting

Thank you.
Robb


________________________________

This e-mail and any attachments to it are confidential and are intended solely for use of the individual or entity to whom they are addressed. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this e-mail without the author's prior permission. The views expressed in this e-mail message do not necessarily represent the views of Highmark Inc., its subsidiaries, or affiliates.
Alexander V. Lukyanov
2013-03-12 10:49:02 UTC
Permalink
Post by Macko, Robb E
We are receiving the error message below, and customer is reporting that data is truncated.
I suspect this particular sftp server has a problem with FSETSTAT command,
which is used by lftp to set the file modification time.
Post by Macko, Robb E
---- status code=0(OK), message=The write completed successfully
This is the reply for WRITE command.
Post by Macko, Robb E
<--- got a packet, length=106, type=101(STATUS), id=19958
---- status code=3(Permission denied), message=The requested operation cannot be performed because there is a file transfer in progress.
It's for FSETSTAT.
Post by Macko, Robb E
<--- got a packet, length=40, type=101(STATUS), id=19959
---- status code=0(OK), message=The operation completed
And this is for CLOSE.

I don't see why the file could be truncated. At most it should have wrong
modification time.

I recommend to send a bug report to this sftp server's support.
--
Alexander.
Loading...