unix - sftp: cannot copy directory from remote to local -


i trying copy folder remote local encountered problem using below command:

sftp user@100.54.9.23:/the/folder expect "password:" send "****\n";  send "get -r folders\n" 

i got error : invalid flag -r. also, try mget .i want recursively copy directory remote. try

scp -r user@100.54.9.23:/the/folder  /local/dir 

and try also

scp user@100.54.9.23:/the/folder  /local/dir 

but hang after entering password both.

is there method can used copy directory remote?


Comments

Popular posts from this blog

libGdx unable to find files in android application data directory -

php - Webix Data Loading from Laravel Link -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -