On Sat, Dec 22, 2001 at 08:53:08PM +0100, Piotr Krukowiecki wrote:
> lftp [EMAIL PROTECTED]:/test> ls
> ---> PASV
> <--- 227 Entering Passive Mode (127,0,0,1,7,150).
> ---- Connecting data socket to (127.0.0.1) port 1942
> ---> LIST
> <--- 150 Opening ASCII mode data connection for /bin/ls.
> ---- Closing data socket
> total 0
> lftp [EMAIL PROTECTED]:/test> cd x
> ---> CWD /test/x
> <--- 250 Changed directory successfully to '/test'.

This ftp server seems to accept only first directory component of the path
passed with CWD command. It could be possible to do a couple CDUP's with
following CWD dir commands to workaround, but it is PITA.

> > Er, it shouldn't be sending ~ in CWDs.  This from CVS?
> 
> irrc yes, but 2.4.8 does this too.

lftp could not parse the PWD reply, this is why it could not determine home
directory, and that's why it passed ~ to server.

> Hmm cvs version (statically compilled) dumps core when connecting to ftp
> server:

Same reason, home==NULL, LsCache::SetDirectory faults.

> The '"/users/piotr"' is white (ie this ftp uses colors)
> When i disable using colors, it's not segfaulting

Please, capture exact server reply with `script' command and sent it to me.

> 2.4.8 doesn't segfaults at all.

Because it does not call LsCache::SetDirectory.

-- 
   Alexander.

Reply via email to