Thanks again, martin -
Ok, have reviewed again the documentation and tried to implement your suggestions (which I did see in the doc'n/examples). My
strShell
now is:
C:\Program Files (x86)\WinSCP\WinSCP.exe /command "option batch abort" "option confirm off" "open userID:password@xx.xx.xxxx" "put \\localDrive\localFolder\FTP_Upload_Test.txt /Monthly Reporting/2014/3-2014/" "exit"
as suggested, but this does not connect at all, now. I've also tried inserting
/console
, and all possible iterations using
c:\...\WinSCP.com
without success.... May I ask, what should the exact string be? Also, I'm not sure I understand the "paths with spaces" comment; have not seen double quotes around the files paths in any of the examples, else I'm misunderstanding (likely!).