On Tue, Jan 25, 2005 at 03:10:34PM -0500, Paul Stearns wrote: > ---- path on wire is `Current/test.txt' > ---> sending a packet, length=35, type=3(OPEN), id=9 > <--- got a packet, length=21, type=101(STATUS), id=8 > <--- got a packet, length=10, type=102(HANDLE), id=9 > ---- got file handle 31 (1)
It has opened the file, file handle is a single byte '1'. > ---> sending a packet, length=10, type=8(FSTAT), id=10 > <--- got a packet, length=33, type=101(STATUS), id=10 > ---> sending a packet, length=10, type=4(CLOSE), id=11 > get: Access failed: File not found (test.txt) Now lftp tries to get file attributes with FSTAT request and the server replies "File not found". This is quite strange server behaviour, as it just opened the file. What sftp software is installed on the server? Maybe it handles FSTAT incorrectly or does not support at all. As a workaround, lftp could ignore this error or retry with STAT. -- Alexander.
