Writing image to a temp directory directly on the server

I've been looking around and the closest thing I've come across is using the File library to write text files into the temp directory. What I want to do is take uploaded files (images) and save them to a temp directory. These images will then be run through a command line application I've developed on the side to generate another file. Those images will then be deleted from the system so that new images can be written there. The generated file will be saved to the database. How do I go about writing these images to the temp directory?

Leave a Comment