Re: WinSCP3.com /command (etc...)
What version of WinSCP are you using? Parameter /command is supported since 3.7.5 only. Also you need to use double-quotes around a command. Windows does not allow single-quotes.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
option batch on
option confirm off
open <username>:<password>@<domain>
cd /home/public_html/imode/
option transfer binary
put example.txt
close
exit
winscp3.com /command 'option batch on' 'option confirm off' 'open <username>:<password>@<domain>' 'cd /home/public_html/imode/' 'option transfer binary' 'put example.txt' close exit
winscp3.com <username>:<password>@<domain> /command 'option batch on' 'option confirm off' 'cd /home/public_html/imode/' 'option transfer binary' 'put example.txt' close exit