Multiple Files
I am having an issue with my script not picking up multiple files. It will only grab the first file in the directory and then stop. How do I need to modify this script to upload multiple files? The files have different extensions which is why I used the mask filename*.
option batch on
option confirm off
open sftp://username@server.com -hostkey="ssh-rsa 1024 AA:AA:AA"
cd /incoming/test
put E:\folder\Filename*
exit
option batch on
option confirm off
open sftp://username@server.com -hostkey="ssh-rsa 1024 AA:AA:AA"
cd /incoming/test
put E:\folder\Filename*
exit