The problem is that it is not logging in correctly. I would suggest that you use Net::FTP directly whereby you can get the error messages directly:
use strict; use Net::FTP; my $client = Net::FTP->new('ftp.servername.com', Debug => 1) or die "Cannot connect : $@\n"; $client->cwd('/files') or die $client->message(); $client->get('somefile.txt') or die $client->message(); $client->quit()
/J\
In reply to Re: Re: Re: trouble while ftping through Perl Script
by gellyfish
in thread trouble while ftping through Perl Script
by shilpam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |