I had a feeling that was the case so thanks for the clarification
- thommck
226
is FTP protocol status code. You are using SFTP protocol now.
"c:\Program Files\WinSCP\WinSCP.com" /script="c:\temp\get-test.txt" /log="c:\temp\get-test.log" /xmllog="c:\temp\get-test.xml"
option batch abort
option confirm off
open sftp://xxxx@website.xxxxx.com/ -hostkey="ssh-rsa 2048 XX:XX:16:aa:56:0d:14:44:91:26:bc:33:e9:d5:66:45"
get /folder/outgoing/test.txt c:\temp\
close
exit