On Feb 25, 2010, at 16:25, [email protected] wrote:

>> See if
>> quote CWD drive2:
>> helps.
> Hey Daniel - thought of that, but lftp tries to interpret the cwd command, 
> which it doesnt understand...
> would there be a way to pass a command directly to the server uninterpreted 
> by lftp?

Yeah, "quote" -- as I originally wrote.

lftp:/> quote CWD drive2:
---- Resetting cwd
---> CWD drive2:
550 Can't change directory to drive2:: No such file or directory

vs.

lftp:/> cd drive2:
---> CWD /drive2:
<--- 550 Can't change directory to /drive2:: No such file or directory
cd: Access failed: 550 Can't change directory to /drive2:: No such file or 
directory


When I use quote, it doesn't add the slash.

lftp will try to change the working directory back to what it thinks it should 
be on the next command after a "quote CWD" change, but I still think there's a 
chance this might work with your weird server, since by then lftp's attempt to 
change back to the "/" directory, or wherever it thinks it should be, won't 
make your server change drives.

Reply via email to