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

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

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