Re: How to code a simple coammnd line to put a file
Please read documentation and see examples:
https://winscp.net/eng/docs/commandline#scripting
If that does not help, come back.
https://winscp.net/eng/docs/commandline#scripting
If that does not help, come back.