I have a situation where I am trying to retrieve a PDF file that has been saved as a binary file on the database. I can get the file and send it back through the browser to allow the client to download or open the PDF, but what I need to do is get the file and write it back to the file system on the server.
Can anyone point me to an article, or maybe the methods I would need to use to do something like this?
I have tried various code elements around filestreams and such.