Answer the question
In order to leave comments, you need to log in
LFTP: mkdir -p -> Error: File exists?
What kind of misfortune is this with lftp?
I'm trying to create a directory:
lftp -c "set ftp:list-options -a;
open 'ftp.some.com';
mkdir -p /some/folder/new/;
";
---> MKD /some/folder/new/
<--- 451 Error: File exists.
Answer the question
In order to leave comments, you need to log in
So far I decided with a separate call
lftp -c "set net:max-retries 2;
open 'ftp.some.com';
mkdir -p /some/folder/new/;
";
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question