Got questions? Go ahead: Ask me anything!
Date: Fri Jun 30 09:43:27 2006
Subject: Net:FTP $ftp->put problem!
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.
(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version
Increase ad revenue 50-250% with Ezoic
More Articles by anonymous © 2009-11-07 anonymous