Net::FTP : Passive mode does not work as documented.
- From: ro.naldfi.scher@xxxxxxxxx
- Date: 20 Jun 2006 02:39:42 -0700
A few of our servers reject connection via Net::FTP with the error
"PASV is disabled"
tries to establish the connection via passive mode, but the serverFrom the wording I guessed that this means that our client program
only supports active mode.
mode is the default when creating a Net::FTP object (unless oneFrom the perldoc documentation of Net::FTP I concluded that active
explicitly sets Passive=>0 in the constructor, which we don't). So
it seems that the documentation for Net::FTP does not match the
implementation.
(Additional note:
To double-check this, I ran the client again, but now with setting
the environment variable FTP_PASSIVE to zero. The transfer
now works.
Similarily, if I set FTP_PASSIVE to 1 makes the error message
reappear, as does an explicit call to the pasv method).
Ronald
.
- Follow-Ups:
- Re: Net::FTP : Passive mode does not work as documented.
- From: Chris Davies
- Re: Net::FTP : Passive mode does not work as documented.
- Prev by Date: Re: question(s) re: win32::ole and active-directory interaction
- Next by Date: html2pdf ?
- Previous by thread: question(s) re: win32::ole and active-directory interaction
- Next by thread: Re: Net::FTP : Passive mode does not work as documented.
- Index(es):
Relevant Pages
|