Trouble putting a file with spaces in the name
I am having a problem sending a file to an FTP site that has spaces in the file name. I have tried single quotes, double quotes, double double quotes, etc. and nothing seems to work. It keep saying ".....system file not found....".
I am using Winscp Version 5.7.7 Build 6257.
Below is the script I am using. It keep showing that the file name is "Server1\MyFiles\Daily ".
="C:\Program Files\WinSCP\WinSCP.exe /console /command ""option confirm off"" ""option batch off"" ""open FileList"" ""put \\Server1\MyFiles\\" & ""Daily Inpatient File"" & "*%TimeStamp#yyyy-mm-dd%" & ".csv"" ""exit"" "
Thank you very much for your assistance.
David
I am using Winscp Version 5.7.7 Build 6257.
Below is the script I am using. It keep showing that the file name is "Server1\MyFiles\Daily ".
="C:\Program Files\WinSCP\WinSCP.exe /console /command ""option confirm off"" ""option batch off"" ""open FileList"" ""put \\Server1\MyFiles\\" & ""Daily Inpatient File"" & "*%TimeStamp#yyyy-mm-dd%" & ".csv"" ""exit"" "
Thank you very much for your assistance.
David