Re: Help with Transfer/Sync script.
If you know that there is always only one file in the source directory, you can use the following command to upload the file to a fixed name on the remote server.
See https://winscp.net/eng/docs/scriptcommand_put
put * fixedname
See https://winscp.net/eng/docs/scriptcommand_put