开发者

LFTP mkdir -p doesn't work with sftp protocol?

here is the server directory structure:

/tmp/a

and I can only connect to the server with sftp

Now I want to mkdir first, and t开发者_JS百科hen upload some files into it.

mkdir -p /tmp/a/b works, but mkdir -p /tmp/a/b/c/d/e/f/g doesn't.

I think the param -p is for this situation, anything wrong? Thanks!


New version lftp support mkdir -p with sftp protocal.


mput -d some/path/file.txt

Create directories the same as in file names and put the files into them.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜