Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
use NET::FTP; my $hostname='superwarez.com'; my $user='warez'; my $password='warez'; my $ftp=Net::FTP -> new($hostname) or die ("Connect failed"); $ftp->login($username,$password); $ftp->binary; $ftp->cwd("/pub/uploads"); $ftp->put("mystuff.txt"); $ftp->get("warezlist.txt"); $ftp->quit
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: net::ftp please
by arturo (Vicar) on Apr 18, 2001 at 03:46 UTC | |
by Anonymous Monk on Apr 18, 2001 at 04:39 UTC | |
Re: net::ftp please
by Adam (Vicar) on Apr 18, 2001 at 04:46 UTC | |
Re: net::ftp please
by AgentM (Curate) on Apr 18, 2001 at 03:47 UTC | |
by Anonymous Monk on Apr 18, 2001 at 05:13 UTC | |
by AgentM (Curate) on Apr 18, 2001 at 05:47 UTC | |
by davorg (Chancellor) on Apr 18, 2001 at 12:53 UTC | |
Re: net::ftp please
by diskcrash (Hermit) on Apr 18, 2001 at 04:36 UTC | |
by Anonymous Monk on Apr 18, 2001 at 04:42 UTC | |
by diskcrash (Hermit) on Apr 18, 2001 at 04:58 UTC | |
by Anonymous Monk on Apr 18, 2001 at 05:18 UTC | |
by davorg (Chancellor) on Apr 18, 2001 at 12:22 UTC | |
Re: net::ftp please
by stefan k (Curate) on Apr 18, 2001 at 13:11 UTC |