Multiple File Attachment
-
Hi All, To upload a single file in ASP.Net is very easy task.. but what if to upload multiple files in one go, i see many examples to upload files but every one has a post back event after selecting one file. exactly what i want is to user can select files and click on the send button and all the files are posted to the server in one server visit... you can see the GMail - compose new mail page....where you can attach multiple files with your mail. has anybody idea about this?? Mihir...
-
Hi All, To upload a single file in ASP.Net is very easy task.. but what if to upload multiple files in one go, i see many examples to upload files but every one has a post back event after selecting one file. exactly what i want is to user can select files and click on the send button and all the files are posted to the server in one server visit... you can see the GMail - compose new mail page....where you can attach multiple files with your mail. has anybody idea about this?? Mihir...
Hi Mihir: You can do it. All UploadedFiles are available to you in oneshot after the single postback through
HttpPostedFiles
Collection. You can iterate through it and save the files to the desired folder. Deepak Kumar Vasudevan Personal Web: http://vdeepakkumar.netfirms.com/ I Blog At: http://deepak.blogdrive.com/ -
Hi Mihir: You can do it. All UploadedFiles are available to you in oneshot after the single postback through
HttpPostedFiles
Collection. You can iterate through it and save the files to the desired folder. Deepak Kumar Vasudevan Personal Web: http://vdeepakkumar.netfirms.com/ I Blog At: http://deepak.blogdrive.com/hi deepak you are rite, we can get that collection from Request.Files property, but i have confusion that how to upload multiple files from client...(Without provision of multiple INPUT-FILE Element)..are you getting me? i dont know how many files will been uploaded... if you give me more explainatory example, i can understand properly..:) thanks for reply Mihir...
-
hi deepak you are rite, we can get that collection from Request.Files property, but i have confusion that how to upload multiple files from client...(Without provision of multiple INPUT-FILE Element)..are you getting me? i dont know how many files will been uploaded... if you give me more explainatory example, i can understand properly..:) thanks for reply Mihir...
Hi Mihir: One Input FileElement corresponds to one File only right? Deepak Vasudevan 91 98400 26014 Deepak Kumar Vasudevan Personal Web: http://vdeepakkumar.netfirms.com/ I Blog At: http://deepak.blogdrive.com/