Hi,
I’m trying to log onto a sftp server using lftp, and make multi-levels
of path by mkdir –p. But lftp reports error. Here is the debug message.
lftp [email protected]:~/Users/xxxxxxx> mkdir -p 1/2/3
---- path on wire is `/home/samba/Users/xxxxxxx/1/2/3'
---> sending a packet, length=44, type=14(MKDIR), id=9
<--- got a packet, length=29, type=101(STATUS), id=9
---- status code=2(No such file), message=No such file
mkdir: Access failed: No such file (1/2/3)
lftp [email protected]:~/Users/xxxxxxx> mkdir -p 1
---- path on wire is `/home/samba/Users/xxxxxxx/1'
---> sending a packet, length=40, type=14(MKDIR), id=10
<--- got a packet, length=24, type=101(STATUS), id=10
---- status code=0(OK), message=Success
mkdir ok, `1' created
PS: lftp version is 3.7.11.
Any idea?
Thanks in advance.