The problem I have is in dealing with whitespaces in either the directory path or file name. Below is the single command line statement to send a file. Since both the Directory and File name contain whitespaces, I get the "File or folder xxxxx Does not Exist" error. I've tried many different options (Single Quotes, double quotes, Brackets) to enclose around the path & filename with no luck.
Your help is appreciated!!! :)
"C:\Program Files\WinSCP\winscp.com" email@example.com /command "option confirm off" "put Y:/UQ Feed/Encrypted/RISE GA-Net Units-Daily Report-MTD-20080430.csv.pgp /NAR/" "exit"