The system should recognize images with the content type of
application/octet-stream -- is the problem that the files can't be
uploaded, or that they're just not recognized as images once they're
on the site?
Rob
The uploads seems to succeed with "application/octet-stream", but the
system can't find the images when trying to download them (e.g.
http://www.divshare.com/download/2652417-24d). I've fixed the issue by
providing the correct content-type (using Java's
MimeTable.getDefaultTable().getContentTypeFor(filename)).
An updated version of the source code can be found at:
http://www.divshare.com/download/2652475-991
Luzius
On Nov 6, 10:12 am, Luzius <luzius.meis...@gmail.com> wrote:
> Hi Rob
>
> The uploads seems to succeed with "application/octet-stream", but the
> system can't find the images when trying to download them (e.g.http://www.divshare.com/download/2652417-24d). I've fixed the issue by