How to tell Fetch command to use specific port #

Jonathan Chen jonc at chen.org.nz
Mon Jan 26 15:49:22 PST 2004


On Mon, Jan 26, 2004 at 05:07:56PM -0500, JJB wrote:
> The Fetch command is an wrapper for FTP. 
> It seems to default to passive mode because my firewall logs it 
> going out on port 21 followed by the data channel on ports > 1024. 
> 
> Is there some way to force fetch to use port 5999 all 
> the time for it's data channel? 

No.

With passive-mode FTP, the data channel is specified by the server on
the remote end; ie the client (fetch) is only responding to use the
specified data-port on the server.

Cheers.
-- 
Jonathan Chen <jonc at chen.org.nz>
----------------------------------------------------------------------
                   "Lots of folks confuse bad management with destiny"
                                                         - Kin Hubbard


More information about the freebsd-questions mailing list