On 01/04/2011 02:15 AM, [email protected] wrote:
> Hello,
> 
> on our Win Xp machines we download files from a directory via
> 
> c:\prog\bin\wget --cut-dirs=2 -r -nH -Nnv --no-passive-ftp
> ftp://svc-ftp/mydir
> 
> With win 7 it works only without --no-passive-ftp.
> 
> Are some special settings for the win7 firewall necessary ?

Very probably. Firewalls are one major reason why programs such as wget
or modern browsers use passive mode by default: non-passive FTP means
that the FTP client you're running opens a port for the _server_ to
connect to for sending files (or even just directory listings), rather
than the other way around. This makes firewalling difficult (can only be
done if the firewall can actively parse the FTP connection, and adjust
its settings on-the-fly from what it sees in the control connection),
and it makes using non-passive FTP through a network address-translating
router absolutely impossible. That's why it's usually not advisable.

-- 
Micah J. Cowan
http://micah.cowan.name/

Reply via email to