Subject: EPSV
To: None <netbsd-help@netbsd.org>
From: Al Urbaitis <avu@lanl.gov>
List: netbsd-help
Date: 10/04/2004 11:41:10
Hello
I am having some trouble with packages
or at least with some combination of
"fetch" and "ftp".

When I use the package system
to get source files I heve one of
two situations.

1. Here is a typical unsuccessful exchange...
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
200 Switching to Binary mode.
250 Directory successfully changed.
250 Directory successfully changed.
250 Directory successfully changed.
250 Directory successfully changed.
250 Directory successfully changed.
local: libcroco-0.6.0.tar.bz2 remote: libcroco-0.6.0.tar.bz2
229 Entering Extended Passive Mode (|||56751|)
150 Opening BINARY mode data connection for libcroco-0.6.0.tar.bz2 (358346 bytes).
   0% |             |     0       0.00 KB/s    --:-- ETAftp: netin: Connection reset by peer
   0% |             |    -1       0.00 KB/s    --:-- ETA

2. Here is a successful exchange...
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
200 Type set to I.
250 CWD command successful.
250 CWD command successful.
250-Please read the file README
250-  it was last modified on Tue Jan  6 09:59:54 2004 - 272 days ago
250 CWD command successful.
250 CWD command successful.
250 CWD command successful.
250 CWD command successful.
local: libcroco-0.6.0.tar.bz2 remote: libcroco-0.6.0.tar.bz2
500 'EPSV': command not understood.
227 Entering Passive Mode (128,165,156,80,143,245)
150 Opening BINARY mode data connection for libcroco-0.6.0.tar.bz2 (358346 bytes).
100****************|   349 KB   59.30 KB/s    00:00 ETA


The biggest difference is that on succesful transfers
the ftp server says...
500 'EPSV': command not understood
and then proceeds to finish up....

but when I get .....
229 Entering Extended Passive Mode (|||56751|)
it fails


Is this something to do with me, the firewall, or the targeted servers ?

Can I somehow ask fetch to not ask for EPSV ?

Thanks
Al