cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: FTP passive mode

From: Oleksiy <patriot_of_ua_at_ukr.net>
Date: Thu, 27 Oct 2011 15:12:40 +0300
('binary' encoding is not supported, stored as-is) ('binary' encoding is not supported, stored as-is)  Thanks a lot to all!

>

   Patrick Monnerat wrote:
> > Be also aware that, in active mode, the server connects to the client:
> > this means you may have problems along the network path with:
> >
> > - Firewalls (reverse data port must be open).
> > - NAT (the real IP address of your client may not be seen as such by the
> > server).
> > - Port forwarding: inbound data connection requests should be redirected
> > to your client if the later is on a LAN and the server in the "outside"
> > world.
> >
> > That's why the active mode is pretty much deprecated nowadays.
>
> Mostly. When the server is behind a firewall/NAT with port
> forwarding, such as my friend's little Netgear NAS at home, depending
> on the router you might have to use active mode.
>
> (It's unfortunate if client and server are both in this situation, as
> neither active nor passive modes work then.)
>
> -- Jamie
>
>

('binary' encoding is not supported, stored as-is) -------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-10-27