Want to upload multiple files using SFTP to remote server
I am trying to upload multiple files using below script, somehow batch script picking only first file out of multiple files from local drive and uploads on remote server.
WinScp version 5.9.2
batch command
"C:\Program Files (x86)\WinSCP\WinSCP.exe" /log= V:\BatchScripts\File_Put.log /script=V:\BatchScripts\File_Put.txt
File_Put.txt
# Connect to SFTP server using a password open sftp://username:password;fingerprint=ssh-**s-**-**-**-**-**-**-**-**-**-**-**-**-**-**-**-**@sftp.**.com/XYZ/WVW_to_User/ # Upload file put V:\*.csv /XYZ/WVW_to_User/ exit
Please let me know is there any wrong with script.
Thank you in advance.
[/code]