Thanks for the suggestions - no go so far.
Pretty sure the issue is the preceding '/'.
The server has the following structure:
drive1:
/
/dir1
/dir2
drive2:
/
/dir1
/dir2
The FTP server defaults to drive1: and if the cd command includes the
preceding '/' then it is assumed that the "drive2" text is a directory
(which doesnt exist).
Some samples:
FROM FTP:
ftp> cd drive2
550 'drive2': Not a directory or not accessible.
ftp> cd drive2:
250 CWD command - successful.
FROM LFTP:
lftp ad...@hostname:/> cd drive2:
cd: Access failed: 550 '/drive2:': Not a directory or not accessible.
lftp ad...@hostname:/> "cd drive2\:"
Unknown command `cd drive2\:'.
lftp ad...@hostnamen:/> cd "drive2\:"
cd: Access failed: 550 '/drive2\:': Not a directory or not accessible.
lftp ad...@hostname:/> cd 'drive2\:'
cd: Access failed: 550 '/drive2\:': Not a directory or not accessible.
lftp ad...@hostname:/> cd drive2
cd: Access failed: 550 '/drive2': Not a directory or not accessible.
Thanks for the help. I just hope that I am not the only one to have run
across a system like this before.
Matt
On Feb 24, 2010 12:28pm, Bill Dorsey <[email protected]> wrote:
I was thinking the same thing. I never use a : when on ftp sites.
Also, there may be a security issue. I get that a lot when my creds are
lacking.
On Wed, Feb 24, 2010 at 12:04 PM, Kyle Thurow [email protected]> wrote:
This is just speculation. I haven't done any testing to verify, but
lftp may be having a problem with the ':' character in that directory
name. If possible, I would recommend naming it something else.
Alternatively, you may be able to escape the character. you could try
"cd drive2\:"
- Kyle
On Wed, Feb 24, 2010 at 10:51 AM, [email protected]> wrote:
> Hi all - I hope this is not an rtfm problem - I have searched every way
I
> know how for the answer...
>
> Am working with and embedded device that has 2 volumes served by FTP.
>
> With linux command line ftp client, I can cd to the second volume - "cd
> drive2:"
>
> When I do the same with lftp, I get the following error:
> cd: Access failed: 550 '/drive2:': Not a directory or not accessible.
>
> Which is right, because it is adding a leading '/' to the volume as to
make
> it rooted at /.. Is there a way to change volumes or cd with out the
leading
> '/'?
>
> Thanks,
> Matt