Put Command not working properly for multiple files
Hello all. I have a script that seems to work great when uploading a single file. However, on Monday's every week the script needs to upload two files, both with the same file extension just slightly different names.
As of right now the tail end of the script looks like this and like I said, works when uploading one single file but on Monday night when it needs to upload 2 files, it still only uploads one file.
Using version 5.13.4 on Server 2012 R2 Standard
As of right now the tail end of the script looks like this and like I said, works when uploading one single file but on Monday night when it needs to upload 2 files, it still only uploads one file.
# WinSCP script to upload files # Set Options - abort on error, overwrite files option batch abort option confirm off # open the connection ACME (Defined in Sites) open ACME # Set binary transfer option transfer binary # Transfer file LCD y:\ put *.ACME # Elvis has left the building close exit
Using version 5.13.4 on Server 2012 R2 Standard