|
|
|
| ftp en perl par iron_cook |
lundi 15 avril 2002 à 08:45:18 |
j'ai trouver la fonction GET mais j'arrive pas a l'utiliser |
PLEASE............. HELP ME.......... |
Net::FTP
Fais un perldoc Net::FTP sur ta bécanne (ici Linux) Allways close to Open Source... Johan Daine
|
use Net::FTP;
$ftp = Net::FTP->new("ftp.cpan.org", Debug => 0); $ftp->login("anonymous",'from@here'); $ftp->cwd("/pub/CPAN"); $ftp->get("README"); $ftp->quit; open(MYFILE, "README"); while(<MYFILE>) { print $_; } Allways close to Open Source... Johan Daine
|
Jette aussi un oeil sur :
http://members.tripod.com/~the_great_site/autoftp.htm http://www.css.tayloru.edu/~jscheibe/projects/aftp/ (recherche sur google...) Allways close to Open Source... Johan Daine |
Merci |
| 26/01 10h13 | Ftp Perl:commande cwd | Programmation | 26/01 13h51 | 1 |
| 22/11 16h33 | problème perl ftp | Programmation | 11/01 16h23 | 3 |
| 10/03 11h38 | wingate firewall proxy + perl +FTP | Réseaux | 10/03 11h38 | 0 |
| 30/03 14h21 | Send FTP sur machine Unix dans pgm Perl | Linux/Unix | 30/03 14h21 | 0 |