Hello mailing list, I need some help troubleshooting strange lftp behavour.
My client is lftp and my server is openssh. My problem: I can't rename a directory: $ lftp -u USER,PASS sftp://HOST ~> cd test cd ok, cwd=/test /test> ls drwxr-xr-x 5 user user 5 Feb 12 18:51 . drwxr-xr-x 5 user user 5 Feb 12 18:51 .. drwxr-xr-x 2 user user 2 Feb 12 18:51 a.1 drwxr-xr-x 2 user user 2 Feb 12 18:51 a.2 drwxr-xr-x 2 user user 2 Feb 12 18:51 a.3 > mv a.3 a.4 Access failed: File already exists (a.3) > ls -l a.4 ls: Access failed: No such file (a.4) /test> ls drwxr-xr-x 5 user user 5 Feb 12 18:51 . drwxr-xr-x 5 user user 5 Feb 12 18:51 .. drwxr-xr-x 2 user user 2 Feb 12 18:51 a.1 drwxr-xr-x 2 user user 2 Feb 12 18:51 a.2 drwxr-xr-x 2 user user 2 Feb 12 18:51 a.3 This is what I get with debug 99 on: > mv a.3 a.4 ---- path on wire is `/test/a.3' ---- path on wire is `/test/a.4' ---> sending a packet, length=31, type=18(RENAME), id=28 PackUINT32BE(0x0000001F) PackUINT8(0x12) PackUINT32BE(0x0000001C) PackUINT32BE(0x00000009) PackUINT32BE(0x00000009) <--- got a packet, length=41, type=101(STATUS), id=28 ---- status code=4(Failure), message=File already exists Access failed: File already exists (a.3) My problem: I can't reproduce this with another client. With openssh's sftp, for example, I can run a rename. If I google the error I see others with the same problem. What should I try next? Thanks. -- Biltong bilt...@fastmail.fm -- http://www.fastmail.fm - Send your email first class _______________________________________________ lftp-devel mailing list lftp-devel@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp-devel