Re: [AVFS] ftp problems with ncftp server

Miklos Szeredi <[email protected]> Fri, 03 Feb 2006 10:43:48 +0100
Newsgroups gmane.comp.file-systems.avfs.user
Message-ID <[email protected]>
> I got a report about ftp not working for a ncftp server. The reason is
> the LIST command sent by the ftp module. The ncftp server does not allow
> the argument "-an". The easiest solution is to just use "-al". I
> already tested it and it works but of course the user/group aren't
> numerical. The ls parser can handle this although the parser looks up
> the wrong names. A nicer solution could be a fall back to "-al" only if
> "-an" gives a ftp error but I don't think it's worth the effort. What
> is your opinion?

I agree.  Probably keeping the numeric ids is not at all important.

> There is another small problem with the ncftp server. For whatever
> reason the server waits a second before responding to the NOOP command
> which is used to test the connection. Is this something we should care of?

It's use could possibly be eliminated, by checking for the specific
error "421" in all ftp commands and reopen the connection in that
case.

Thanks,
Miklos


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642