path with spaces in command line

Core FTP client questions and answers
Post Reply
brianq1
Posts: 20
Joined: Tue Mar 18, 2008 12:39 pm

path with spaces in command line

Post by brianq1 »

I'm using the command line interface to transfer files and CoreFTP LE 2.1 does not seem to be able to handle paths that contain spaces. This question has been asked previously, but has remained unanswered:

[url]http://www.coreftp.com/forums/viewtopic ... mmand+line[/url]

Is there a solution?

Thank you.
brianq1
Posts: 20
Joined: Tue Mar 18, 2008 12:39 pm

Post by brianq1 »

The following doesn't work (using quotes in argument list):
"D:\Program Files\CoreFTP\CoreFTP.exe" -s -O -site SiteName -d /directory/20080716.txt -p "S:\SSIS Packages\Customer\" -FN Input.txt

The following creates a directory "SSIS" and places Input.txt there (no quotes in argument list):
"D:\Program Files\CoreFTP\CoreFTP.exe" -s -O -site SiteName -d /directory/20080716.txt -p S:\SSIS Packages\Customer\ -FN Input.txt

Thanks CP.
brianq1
Posts: 20
Joined: Tue Mar 18, 2008 12:39 pm

Post by brianq1 »

CP, are you able to recreate the issue on your end?
Post Reply