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 firstname.lastname@example.org sftp> cd /images sftp> mget *.JPG
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.