How to serve file download with resume capability in Play Framework 2?
I had used this route:
GET /assets/*file controllers.Assets.at(path="/public", file)
and this action:
public static Result downloadFile(String filePath) {
File file = new File("public/files/"+filePath);
return ok(file);
}
But they did not work.