Last post Jul 01, 2013 01:00 AM by Amy Peng - MSFT
Jun 21, 2013 05:59 AM|micnie2020|LINK
I have a string filename. How can i convert to HttpPostedFile format?
I want to upload this file to network path
\\ServerName\Folder with specific credential like "ali", password "abc1111" or using file.PostedFile.SaveAs method.
Please advise the skeleton code?
Jun 21, 2013 08:12 AM|kedarrkulkarni|LINK
hope this helps...
Jul 01, 2013 01:00 AM|Amy Peng - MSFT|LINK
HttpPostedFile is an object representing a file that has been uploaded to your server. If you want to read the contents of that file you can use HttpPostedFile.InputStream, or if you want to save the file (on the server) you san use the HttpPostedFile.SaveAs(...)
For more information, please try to refer to:
Hope it can help you.