Skip to content
Snippets Groups Projects
Commit 0e7334cd authored by Hocine Bouali's avatar Hocine Bouali
Browse files

correctif readme

parent 804066d9
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,7 @@ upload un fichier/dossier zippé
Form-data param le fichier à envoyer
POST http://127.0.0.1:8080/myapp/ftp/{alias}/file/{path}?dest={destPath}
POST http://127.0.0.1:8080/myapp/ftp/{alias}/file/{path}
renommer un fichier ou dossier
......@@ -182,7 +182,7 @@ Méthode qui permet de télécharger un fichier dans un répertoire choisi par l
@GET
@Secured
@Path("{alias}/file/{path: .*}")
@Produces({ MediaType.APPLICATION_OCTET_STREAM, "image/png" })
@Produces(MediaType.APPLICATION_OCTET_STREAM)
public Response downloadHttpFile(...) {
Response r = init(alias, type, username, psw, mode, port);
......
......@@ -141,7 +141,7 @@ public class ServiceFTPEndPoint {
@GET
@Secured
@Path("{alias}/file/{path: .*}")
@Produces({ MediaType.APPLICATION_OCTET_STREAM, "image/png" })
@Produces(MediaType.APPLICATION_OCTET_STREAM)
public Response downloadHttpFile(@PathParam("alias") String alias, @PathParam("path") String path,
@DefaultValue("anonymous") @HeaderParam("username") String username,
@DefaultValue("anonymous") @HeaderParam("password") String psw,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment