grand-challenge.org icon indicating copy to clipboard operation
grand-challenge.org copied to clipboard

Programming / Fortran / EbookFoundation -- the link is not valid

Open syroezhkin opened this issue 3 years ago • 0 comments

This link EbookFoundation #Fortran goes to the page 404.

syroezhkin avatar Dec 05 '20 06:12 syroezhkin

One simple way of doing this is to have http access to any file on the data server. But this is hard to secure I guess

sjoerdk avatar Aug 09 '12 14:08 sjoerdk

A more secure way would be to have the files be available on the backend of the webserver, as a mapped drive. That way download could server files from this location through the web interface and have all membership and security checks you want.

sjoerdk avatar Aug 09 '12 14:08 sjoerdk

In merge #56 I am now using the filetransfers app, which supports several upload/download styles. Right downloads are supported through the url /filetransfers///. This means that any download is routed through django, where it can be checked for permissions etc.

Serving files directly through Django is however, according to all the docs, very slow and inefficent. The best solution I think is to use the xsendfile module (https://tn123.org/mod_xsendfile/) for apache, which allows Django to check for permissions, and then relay the actual transfer to apache, which is better at that sort of thing.

sjoerdk avatar Sep 13 '12 13:09 sjoerdk

As of 11ca0acddf3b81c7a5e2a48e41e9cd674f291d2c, download works. Current workflow: Create a filesystemdataset, this creates a folder on disk. Upload files into this folder using ftp. Display downloadable files using {% dataset ,%} tag

sjoerdk avatar Sep 25 '12 14:09 sjoerdk