My name is Chris, Hi!
I'm creating a backup program for my company and i'm interested in the
Net::FTP module from CPAN by Graham Barr <[EMAIL PROTECTED]>.
My problem is that when i try to connect to an ftp server, it fails with this
error message in $@ [ Net::FTP: Bad protocol 'tcp' ]
Now... That error only occurs when i run it in the same (monolithic) backup
perl script.
I created a new script that ONLY makes a connection, calls the dir() method,
and does nothing else and it worked just fine.
The two connect calls between the test script and the backupscript are
equivalent.
They are both:
my $ftp = Net::FTP->new($ftpHost, Debug => 1) || die "Unable to connect to
$ftpHost [REASON: $@] {$!}\n";
And $! contains [ No such file or directory ]... Now that doesn't make any
sense at all to me...
My other question is, what does Debug => 1 do more than if it were at 0?
I don't see any difference...
If i can get this to work, things will be great!
Thanks for any help possible!
-Chris
P.S. I have already email Graham Barr himself, but i've recieved no reply.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]