Re: I got an error specifying that Host "put C" does not exist.
You have the quotes wrong:
This should work:
Easiest is to have the command-line generated in GUI:
https://winscp.net/eng/docs/guide_automation#generating
This should work:
winscp.com /command "open sftp://UsernameinLinuxMachine@LinuxHostname -privatekey=C:\Users\MyName\Desktop\KeyFolder\private.ppk" "put C:\DataFolder\FileToBeTransferred /users/MyLinuxUsername/Desktop/Folder1/"
Easiest is to have the command-line generated in GUI:
https://winscp.net/eng/docs/guide_automation#generating