Re: Put command - upload files within a folder but not the folder itself
You are missing a star (a file mask):
See https://winscp.net/eng/docs/scriptcommand_put#remarks
If you are using the latest version of WinSCP, you should actually get a hint about this in console output (and in the log):
/command "open ftp://user:pass@ftp server" "put C:\Users\Computer\Desktop\Upload\* /" "exit"
See https://winscp.net/eng/docs/scriptcommand_put#remarks
If you are using the latest version of WinSCP, you should actually get a hint about this in console output (and in the log):
Selecting files using a path ending with slash is ambiguous. Remove the slash to select the folder. Append * mask to select all files in the folder.