I have tried to upload a binary file (such as a .pdf
file), but I
could not manage to download it afterward (by clicking on the
reference of the resource).
So I assume that your browser doesn't send the mime-type when
uploading. That is :-( and therefor you have to set the mime-type
manually.
I have put the mime type applica/x-zip-comp but it
doesn't effect
anything...
The mime-type you give is not a valid one. Use the following one for a
pdf-files and it should work:
application/pdf
For further reference see:
http://www.asahi-net.or.jp/en/guide/cgi/mimetype.html
Cheers
Lukas
--
Lukas Renggli
http://renggli.freezope.org