cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: FTP Trough Firewall

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Fri, 23 Apr 2004 12:38:48 +0200

"Thomas Horst" <info_at_genesis-web.de> said:

> I want to access a Site wich donīt support passive transfer.
> Active (PORT) transfer will work only, if used ports can be limited to
> a specific Range because the Client is behind a NAT.
>
> Is there any chance to tell curl using such a limitation with the -P Option ?

Since you post with Outlook Express, I assume you use curl on
Windows. Put this in your %APPDATA%\_curlrc file; "--ftp-port -".

But I don't think you can control the port range; the OS will give
curl a source-port > 1024 which your NAT/fw should handle fine.

--gv
Received on 2004-04-23