Simple method to download a file from webspeed server

Posted by BillyKnox on 16-Nov-2018 08:18

I am having some trouble finding a simple method of downloading a file (.tiff image) from our webspeed server.

My scenario is that I need to download the image to a temp location then use a LibTiff tool -> tiff2pdf to convert the image to a pdf and then download that converted file to the users local download location.

The file conversion works great, but the download part is giving me uphill.

Any help on this would be greatly appreciated.

All Replies

Posted by christian.bryan@capita.co.uk on 19-Nov-2018 14:47

Can you post any sample code?

You just need to stream the file from disk see attached example.

Posted by christian.bryan@capita.co.uk on 19-Nov-2018 14:50

[View:/cfs-file/__key/communityserver-discussions-components-files/27/streamfile.p:320:240]

This thread is closed