Ask a Question related to PERL Modules, Design and Development.
-
ro.naldfi.scher@gmail.com #1
Net::FTP : Passive mode does not work as documented.
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 server>From 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 one>From 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
ro.naldfi.scher@gmail.com Guest
-
ncftp 2.4.3 - passive mode not working?
Can't seem to get ncftp to work in passive mode. Tried typing the following in the commandline: set passive set passive=yes passive... -
NET::FTP Passive Mode and PORT command
Hello, I have a strange problem under perl 5.8 using NET::FTP On a network, a first Computer running a RedHat 9 here a trace of a Basic ftp... -
use ftp-upload in passive mode
Hi, my first contact with perl and I've got a little problem. I want to do an automatic ftp upload from an OpenBSD firewall using ftp-upload. I... -
Control Lifetime Radically Different in Design Mode - Documented?
Hi John, Keep in mind that the design-time rendering is not meant to be a 100% accurate representation of the runtime rendering. There are many... -
The Problem with Passive Mode ftp server
"Alan Po" <alan@alanpro.com> wrote in message news:bfjkgk$q3v$1@hfc.pacific.net.hk... | Dear all | | I have set up a ftp server by using Proftp.... -
Chris Davies #2
Re: Net::FTP : Passive mode does not work as documented.
[email]ro.naldfi.scher@gmail.com[/email] wrote:
> A few of our servers reject connection via Net::FTP with the error
> "PASV is disabled"The default value for Passive is actually derived via the settings in> From the perldoc documentation of Net::FTP I concluded that active
> mode is the default when creating a Net::FTP object (unless one
> 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.
Net::Config, which would have been configured when the Net:: modules
were first built and installed.
# Passive default for internal hosts
perl -MNet::Config -e 'print $Net::Config::NetConfig{ftp_int_passive},"\n"'
# Passive default for external hosts
perl -MNet::Config -e 'print $Net::Config::NetConfig{ftp_ext_passive},"\n"'
Chris
Chris Davies Guest



Reply With Quote

