FTP LCD Failure
Posted: 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: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.
Code: Select all
lcd C:\Documents and Settings\[MyProfile]\New Folder\Backup
lcd "C:\Documents and Settings\[MyProfile]\New Folder\Backup"
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.