Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Projet_SR2_FlopBox _Hocine-Ferhat
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ferhat Hocine
Projet_SR2_FlopBox _Hocine-Ferhat
Commits
94b07fd7
Commit
94b07fd7
authored
4 years ago
by
Ferhat Hocine
Browse files
Options
Downloads
Patches
Plain Diff
rendu final
parent
32e8ce7f
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
FlopBox/alias=ftp2&url=www.free.fr
+5
-0
5 additions, 0 deletions
FlopBox/alias=ftp2&url=www.free.fr
FlopBox/url=www.free.fr
+5
-0
5 additions, 0 deletions
FlopBox/url=www.free.fr
README.md
+20
-0
20 additions, 0 deletions
README.md
with
30 additions
and
0 deletions
FlopBox/alias=ftp2&url=www.free.fr
0 → 100644
+
5
−
0
View file @
94b07fd7
HTTP/1.1 400 Bad Request
Content-Type: text/plain
Connection: close
Content-Length: 27
This diff is collapsed.
Click to expand it.
FlopBox/url=www.free.fr
0 → 100644
+
5
−
0
View file @
94b07fd7
HTTP/1.1 400 Bad Request
Content-Type: text/plain
Connection: close
Content-Length: 27
This diff is collapsed.
Click to expand it.
README.md
+
20
−
0
View file @
94b07fd7
...
...
@@ -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 :
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment