I have a web application that has a functionality that consists in put a list of images in a folder (on the same server that the web application) and then process that images to upload them to the web application format.
For that action i have a list of FileInfo
objects and i need to convert those FileInfo
objects into HttpPostedFileBase
because the Upload
method uses this kind of object to work.
What's the best way to make this conversion?