FTP LCD Failure

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
shadeclan
Posts: 61
Joined: 02 Jun 2011 11:29
Location: USA - Somewhere between Albany NY and Bennington VT

FTP LCD Failure

#1 Post by shadeclan » 16 Nov 2011 10:24

I'm having a problem with the LCD command. No matter how I phrase the command, even when it says that it accepts it, it still thinks it's in the default directory. I've tried:

Code: Select all

lcd C:\Documents and Settings\[MyProfile]\New Folder\Backup

lcd "C:\Documents and Settings\[MyProfile]\New Folder\Backup"
Yet, if I check the directory or attempt to FTP a file to the new local directory, it still goes to the default.

The work-around, of course, is to set the local directory to the file destination before you execute the FTP script but there are, of course, occasions where that is not desirable.

Suggestions? Some obvious logical screw-up that I'm missing? Any input would be helpful.

Post Reply