[client ftp]
Albert
-
sebsauvage Messages postés 33284 Date d'inscription Statut Modérateur Dernière intervention -
sebsauvage Messages postés 33284 Date d'inscription Statut Modérateur Dernière intervention -
Bonsoir,
Par où commencer pour creer un clientFTP en java.
Par où commencer pour creer un clientFTP en java.
1 réponse
-
Tu peux commencer là:
http://www.ietf.org/rfc/rfc959.txt
C'est la description du protocole FTP.
Ou bien utiliser les classes FTP déjà fournies avec Java.URL url = new URL("ftp://user01:pass1234@ftp.foo.com/README.txt;type=i"); URLConnection urlc = url.openConnection(); InputStream is = urlc.getInputStream(); // To download OutputStream os = urlc.getOutputStream(); // To upload
Mais il y a d'autres librairies FTP:
http://www.javaworld.com/javaworld/jw-04-2003/jw-0404-ftp.html