Here's the script which i use with VB, this can also be copied and executed directly in ordinary Command line (not in WinSCP.com)
C:\>"C:\Program Files\WinSCP\WinSCP.com" /console /command "Open UserXXX:firstname.lastname@example.org" "CD FTP/REMO/REMOTE_DIRECTORY" "Put -delete -nopermissions -preservetime "G:\Bala\FileNet DR Process\Checklist2.zip"" "close" "exit" "/log=c:\winscp.log"
And im getting the error
File or folder 'G:\Bala\FileNet' does not exist.
System Error. Code: 2.
The system cannot find the file specified
can anyone provide me a suggestion in this.