Skip to content
Snippets Groups Projects
Commit 94b07fd7 authored by Ferhat Hocine's avatar Ferhat Hocine
Browse files

rendu final

parent 32e8ce7f
No related branches found
No related tags found
No related merge requests found
HTTP/1.1 400 Bad Request
Content-Type: text/plain
Connection: close
Content-Length: 27
HTTP/1.1 400 Bad Request
Content-Type: text/plain
Connection: close
Content-Length: 27
......@@ -15,10 +15,30 @@ Dans le fichier racine on exécute la commande :
->>> mvn exec:java
//pour éxécuter le projet
exemple:
->>>curl -X POST -H "url: ftp.ubuntu.com" -H "user: anonymous" -H "password: anonymous" http://localhost:8080/FlopBox/server?alias=ftp
//pour la connexion
->>>curl -X GET http://localhost:8080/FlopBox/server/list/cdimage
//pour avoir la liste des sous élements d'un dossier
->>>curl -X GET http://localhost:8080/FlopBox/listServers/servers
//pour avoir la lister de nous servers
->>>curl -X GET http://localhost:8080/FlopBox/listServers/getServer?alias=ftp
//pour avoir l'Adresse d'un serveur en fournissant l'alias
->>>curl -X POST 'http://localhost:8080/FlopBox/listServers/add?alias=ftp2&url=www.free.fr'
//pour ajouter un nouveau serveur
->>>curl -X PUT 'http://localhost:8080/FlopBox/listServers/Put?alias=ftp2&url_update=www.free2.fr'
//pour modifier les information d'un serveur
->>>curl -X curl -X DELETE 'http://localhost:8080/FlopBox/listServers/delete?alias=ftp2'
//pour supprimer un serveur
## 3-Architecture
a)-Gestion d'erreur :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment