Unable to copy multiple files from remote sftp via ssh

Posted by Kevin S on Server Fault See other posts from Server Fault or by Kevin S
Published on 2014-06-09T16:56:07Z Indexed on 2014/06/09 21:27 UTC
Read the original article Hit count: 278

Filed under:
|
|

I am trying to copy multiple (1000s) .JPG files from remote SFTP server to current server using mget command but it is not working. Here is the command that I used

sftp [email protected]
sftp> cd /images
sftp> mget *.JPG

Screenshot at http://i.stack.imgur.com/bSciQ.png

Nothing happens so when I do CTRL + C it gives an error that says File "/images/*.JPG" not found.

I have already referred all suggestions posted on the forum but nothing is working. Let me know if there is another way to copy.

© Server Fault or respective owner

Related posts about ssh

Related posts about sftp