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
Post a Comment