hi
howto change remote directory using NET::FTP module ?
with:
$ftp->cd ("/FTP/IN") ;
wont work.
my $ftp = Net::FTP->new ($server, Timeout => 9000, Debug => 3);
$ftp or die "$server: cannot connect: $@";
# If you don't use ~/.netrc
$ftp->login ($user,$password) or
die "$_: Could not login: " . $ftp->message;
# change remote directory
$ftp->cd ("/FTP/IN") ;
regards
ccc
howto change remote directory using NET::FTP module ?
with:
$ftp->cd ("/FTP/IN") ;
wont work.
my $ftp = Net::FTP->new ($server, Timeout => 9000, Debug => 3);
$ftp or die "$server: cannot connect: $@";
# If you don't use ~/.netrc
$ftp->login ($user,$password) or
die "$_: Could not login: " . $ftp->message;
# change remote directory
$ftp->cd ("/FTP/IN") ;
regards
ccc