This is an old revision of the document!

Support

Help Yourself

Learn how to troubleshoot problems with WinSCP.

I am trying to run a script that transfers files that have spaces in their name. I can not get it to work. I am on Winscp Version 5.7.7 Build 6257. I have tried many methods using single quotes, double quotes, etc. and none work. It keeps telling me System can’t find file specified. It shows the folder and then the first word of the file name before first space. My file name is as follows –> Current Inpatients Daily Report-2017-06-12.csv.

Advertisement

Below is my script as is stands now after modifying it numerous times to try to make it work.


=“C:\Program Files\WinSCP\WinSCP.exe /console /command ”“option confirm off”“ ”“option batch off”“ ”“open MyWinzip”“ ”“put \\Server1\MyFiles\” & “"Current Inpatients Daily Report-”“ & ”*%TimeStamp#yyyy-mm-dd%“ & ”.csv“" ”“exit”“ ”


Thank you very much for any help to resolve this problem.

Last modified: by DWVZ2000