•  
     
    story #12812 get FRS file content via REST
Summary
Empty
get FRS file content via REST
Empty

Modify GET /frs_files/:id so download_url point to a new route /file/download/:id

This new route should allow

  • REST authentications (basic, token, accesskey)
  • Web authentication (cookie)

It returns the raw content of the file.

This route replaces the original "download.php" one.

download.php emits a 301 redirect to this new route.

Empty
Nouha Terzi (terzino), Denis PILAT (denis_pilat)
Status
Empty
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#12812
Manuel Vacelet (vaceletm)
2019-05-09 17:07
2019-01-23 12:15
4063

References

Follow-ups

User avatar
last edited by: Manuel Vacelet (vaceletm) 2019-05-09 08:59

It correpond to the following CR https://my.enalean.com/plugins/tracker/?aid=53673 and more specifically https://my.enalean.com/plugins/tracker/?aid=58343

User avatar
Thomas Gerbet (tgerbet)2019-05-07 18:16
Hello,

As this is about the download of a file already uploaded there is no limit on the size. Something that has been uploaded into the FRS should continue to be downloadable until its removed.
There is no split of the file, the file can be downloaded with one HTTP GET request. However, users/tools will be able to download only a section of the file if they wish to using a range request, see request #13321 and RFC7233 [0] for more information.


[0] https://tools.ietf.org/html/rfc7233

  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • Status changed from Ready (stalled) to On going
User avatar
Hi
Is there any limit with the file size ?
an automatic split into chunks for large files ?
Thanks
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • CC list set to Denis PILAT (denis_pilat), Nouha Terzi (terzino)