grand-challenge.org
grand-challenge.org copied to clipboard
Programming / Fortran / EbookFoundation -- the link is not valid
This link EbookFoundation #Fortran goes to the page 404.
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
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.
In merge #56 I am now using the filetransfers app, which supports several upload/download styles. Right downloads are supported through the url /filetransfers/
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.
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