to upload swf file in windows application in .net2.0
please tell me the steps or the tools needed to upload a swf or flash file in windows application in c# .net2.0
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Lalit MPosted Feb 7, 2010, 11:48 AM
dim myFile as HttpPostedFile=Request.Files(0)
myFile.SaveAs(Server.MapPath(myFile.FileName))
--------------------------------------------------
foreach(string fileKey in _context.Request.Files){
reference linkHttpPostedFile file = _context.Request.Files[fileKey];
file.SaveAs(Path.Combine(uploadDir, file.FileName));
}
if you want to upload ant type of file show here some article help you.
http://www.dotnetspider.com/resources/21737-Upload-any-File-Using-FileUpload-Control-ASP-Net.aspx
http://www.c-sharpcorner.com/UploadFile/munnamax/FileUploader02102006073548AM/FileUploader.aspx