I am using $ftp->put to upload file to ftp server but it is not working...
Here's the script
my $ftp = Net::FTP->new("ftp.mydomain.com") or die "INFO: Cann't connect: $@\n";
$ftp->login("login","xyzx") or die "INFO: Couldn't login\n";
$ftp->cwd("/dir/myarea") or die "INFO: Couldn't change directory to \"/dir/myarea"\n";
$ftp->put("hehe.txt") or die "WHAAAAAAAAT THE HELL";
Got something to add? Send me email.
More Articles by anonymous © 2009-11-07 anonymous
What do such machines really do? They increase the number of things we can do without thinking. Things we do without thinking — there's the real danger. (Frank Herbert)