Open TomasKulhanek opened 6 years ago
We can remove FileUploadController and for me is ok to use webdav on apache controller to manage files on the server. How do you manage the files (on the server ) -> FileList class identity ?
No FileList class - files belongs to dataset managed by backend api.
Can you do that?
The class org.cirmmp.spring.controller.FileUploadController is good to post binary files via HTTP - however, I'd be afraid, if it scales for big files. Therefore I'd recommend to remove this controller completely. The functionality to handle single files is already on WEBDAV interface which is provided by the apache mod_dav module, it can handle GET,POST,PUT,DELETE as well as PROPFIND (aka directory listing) on files on the server.