Ftp en perl
Fermé
iron_cook
Messages postés
10
Date d'inscription
vendredi 1 mars 2002
Statut
Membre
Dernière intervention
17 avril 2002
-
15 avril 2002 à 08:45
Pol - 4 déc. 2007 à 13:40
Pol - 4 déc. 2007 à 13:40
A voir également:
- Ftp en perl
- Filezilla ftp - Télécharger - Téléchargement & Transfert
- Ftp utility - Forum Réseau
- Denon perl pro test - Guide
- Core ftp - Télécharger - Téléchargement & Transfert
- Smb ftp - Forum Réseau
6 réponses
jisisv
Messages postés
3645
Date d'inscription
dimanche 18 mars 2001
Statut
Modérateur
Dernière intervention
15 janvier 2017
934
16 avril 2002 à 15:38
16 avril 2002 à 15:38
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
$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
jisisv
Messages postés
3645
Date d'inscription
dimanche 18 mars 2001
Statut
Modérateur
Dernière intervention
15 janvier 2017
934
16 avril 2002 à 13:43
16 avril 2002 à 13:43
Net::FTP
Fais un
perldoc Net::FTP
sur ta bécanne (ici Linux)
Allways close to Open Source...
Johan Daine
Fais un
perldoc Net::FTP
sur ta bécanne (ici Linux)
Allways close to Open Source...
Johan Daine
iron_cook
Messages postés
10
Date d'inscription
vendredi 1 mars 2002
Statut
Membre
Dernière intervention
17 avril 2002
16 avril 2002 à 14:02
16 avril 2002 à 14:02
Merci beaucoup!!!
Je pense avoir trouver mon bonheur avec ton aide....
Mais tu n'aurais pas un petit exemple a me donner???
Nico
Je pense avoir trouver mon bonheur avec ton aide....
Mais tu n'aurais pas un petit exemple a me donner???
Nico
iron_cook
Messages postés
10
Date d'inscription
vendredi 1 mars 2002
Statut
Membre
Dernière intervention
17 avril 2002
15 avril 2002 à 16:07
15 avril 2002 à 16:07
j'ai trouver la fonction GET mais j'arrive pas a l'utiliser
iron_cook
Messages postés
10
Date d'inscription
vendredi 1 mars 2002
Statut
Membre
Dernière intervention
17 avril 2002
16 avril 2002 à 09:08
16 avril 2002 à 09:08
PLEASE............. HELP ME..........
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
jisisv
Messages postés
3645
Date d'inscription
dimanche 18 mars 2001
Statut
Modérateur
Dernière intervention
15 janvier 2017
934
17 avril 2002 à 12:40
17 avril 2002 à 12:40
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
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
17 avril 2002 à 09:01
Encore une fois tu m'as sauvé la vie!!!!
C bon ca marche. J'ai reussi a m'en sortir hier soir avec ton aide...
MERCI DU FOND DU COEUR!!!!!
Nico