On Mon, 5 Nov 2001, Volker Kuhlmann wrote:
> Fact is that the ftp connection is broken while trying to open a data
> channel. ftp ls uses a data channel, like get and put. I have only ever
> seen this problem when there was something wrong with passive/active.
Generally you are right.
> Check both passive and active are enabled on the client. Check your
> firewall doesn't block active. Check whatever, as long as you fix the
> opening of the data channel.
I am sorry but the problem does not appear to be at this end. Just FYI:
Active:
16:37:53 > ls
16:37:53 Cmd: PORT 132,181,40,3,151,103
16:37:53 200: PORT command successful.
16:37:53 Cmd: LIST
16:37:53 150: Opening ASCII mode data connection for directory listing.
16:37:53 226: Transfer complete.
Passive:
16:37:09 > ls
16:37:09 Cmd: PASV
16:37:09 227: Entering Passive Mode (132,181,40,13,41,48)
16:37:09 Cmd: LIST
16:37:09 150: Opening ASCII mode data connection for directory listing.
16:37:09 226: Transfer complete.
Both work.
But note that some ftp clients may not be able to try both, e.g. AFAIK
ncftp (at least some versions) have troubles with the "passive=optional"
option.
(note however that this site is open only to *.nz)
Cheers,
--
Ryurick M. Hristev mailto:[EMAIL PROTECTED]
Computer Systems Manager
University of Canterbury, Physics & Astronomy Dept., New Zealand