× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: Active vs passive FTP
  • From: "SIMS, KEN" <KSIMS@xxxxxxxxxxxxxxxx>
  • Date: Mon, 29 Nov 1999 19:56:39 -0500

Hi Jim -

>Date: Mon, 29 Nov 1999 16:17:39 -0800
>From: Jim Langston <jlangston@conexfreight.com>
>Subject: Re: Ethernet x-over cable
>
>Hmm?  Please explain the difference between active
>and passive modes of FTP.  I wrote an FTP client a few
>years back on a PC in Delphi just to do it.  I got it working,
>then abandoned it, I just wanted to see how it was done.

I'll jump in here since I had to deal with this recently for a firewall on
my PC at home.  As I understand, active vs passive only applies on gets,
basically just file gets and directory lists.

In both cases, the client sends the request to the server on port 21.

In active mode, the server then initiates a data connection to the client to
send the actual file data or directory listing.  This is done on a port of
1024 or higher.  If there is a firewall set to reject connections initiated
by the other end, this is a problem.

In passive mode, the client initiates the data connection to the server.
This is done on port 20.

For file puts, the client always initiates the data connection.

Ken
Southern Wine and Spirits of Nevada, Inc.
Opinions expressed do not represent those of my employer or anyone else.

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.