Hello Monks,
I am newbie, so plese bear with me. I am running below code but it does not download "robots.txt"
use strict; use Net::FTP; my $ftpobj = Net::FTP-> new("ftp.cpan.org"); $ftpobj -> login ("anonymous", "nowhere"); $ftpobj -> cwd ("/pub"); $ftpobj -> get ("robots.txt"); $ftpobj -> quit;
The file is present on ftp.cpan.org. My scripts runs fine as I get "0" when I run "echo $?, however, it does not download the file. could you tell me where I am going wrong.
Thanks.
In reply to Net::FTP module not able to download file by slayedbylucifer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |