Command line - directory name with spaces

Core FTP client questions and answers
Post Reply
RT09
Posts: 3
Joined: Fri Dec 18, 2009 4:11 pm

Command line - directory name with spaces

Post by RT09 »

Hello,

I'm working in a Windows environment and executing CoreFTP from a BAT file. Is there a way to pass directory names that have spaces such as "c:\My Dir\" for either uploading or downloading files?

Thanks.
rafulton1944
Posts: 2
Joined: Tue Dec 29, 2009 2:18 pm

spaces in directory

Post by rafulton1944 »

I tried putting double-quotes around the path, but it didn't work. Could you supply an example for this newbie?

Thanks,
Rich
rafulton1944
Posts: 2
Joined: Tue Dec 29, 2009 2:18 pm

Post by rafulton1944 »

Thanks, I really appreciate the help, but it doesn't work for me. I've tried every way I can think of, but no joy!

Here is a sample of what I've tried:

c:\program files\coreftp\corecmd.exe -O -site Wosbc -u "c:\Test Folder\CoreFtp.txt" -p "/httpdocs/"


Rich
Post Reply