Unable to copy multiple files from remote sftp via ssh
- by Kevin S
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.