Re: ftp client
"Chavdar Ivanov" <[email protected]> Sun, 27 Jan 2008 12:46:37 +0000
| Newsgroups | gmane.os.netbsd.help |
|---|---|
| Message-ID | <[email protected]> |
On 27/01/2008, Chavdar Ivanov <[email protected]> wrote: > On 26/01/2008, James K. Lowden <[email protected]> wrote: > > Chavdar Ivanov wrote: > > > Ncftp3 works fine. ... because there is no EPSV support in ncftp3 . . . Reading rfc2428 may get a bit confusing at times . . . > > > FileZilla Client works fine. NetBSD /usr/bin/ftp > > > doesn't - in both passive (the default in the first instance) and > > > forced active mode. There is a wait of about half a minute before the > > > message 'ftp: Poll timeout...' appears. > > > > Quite a pickle.... > > > > I don't have an answer, but some things to try. > > > > 1. The ftp(1) man page suggests using "epsv4 off" in such situations. It also says: "... If an extended command fails then this option will be temporarily disabled for the duration of the current connection, or until epsv4 is executed again. ..." And it *looks* like the timeout to recognize such a failure is somewhat long. I just found out that connection to one of my ftp servers from outside fails from time to time if there is no 'epsv4 off' command; usually it fails first time, then after a session restart it will succeed, but with some minute timeout. > > Indeed... > > > 2. Try another host e.g. ftp.netbsd.org for another data point. > > It works fine to most of the hosts I try to connect to. I've come > across just a few which did not. > > > 3. Enable debugging to get more verbose output. > > > > I have my money on #1. ;-) > > You would have won... I've got now > > default > macdef init > epsv4 off > > in my .netrc, straight from the man page. > > > > > HTH. > > Thanks. > > > > > --jkl > > > > > > > ... -- ---------------------------------------------------------------- /dev/random says: I don't suffer from insanity. I enjoy every minute of it. ---------------------------------------------------------------- Chavdar Ivanov | Talbot Way, Small Heath Business Park Delcam UK | Birmingham B10 0HJ, United Kingdom Customer Support | (+44)121-6831014 ----------------------------------------------------------------