https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22508 --- Comment #37 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to Jonathan Druart from comment #33)
(In reply to Marcel de Rooy from comment #28)
tools/upload-file.pl:
# FIXME The copy must be done in Koha::Uploader, but where? # I (Joubu) did not find a place where the file was completely written
Look at Uploader sub cgi when it calls sub _done. The file is written in _hook. So you should be in _done.
I have tried _done, but it did not work. I cannot remember exactly why but IIRC it was not called when needed. I will have another look later.
I feel that we should not touch Uploader after all. Maybe we should just keep one file and allow (by default) direct access to a *public* subdirectory of uploads? Probably allowing subdirs as well there. Maybe pref controlled (nothing better than adding yet another one).. -- You are receiving this mail because: You are watching all bug changes.