Hi...
I need a logic for uploading multiple files.
My Requirement is-
1. User must be able to upload multiple files at a time.
2. Files details - File Name, Extension, and File Size should be inserted in the database(sql server table) - DONE.
3.Files details are shown in the gridview - DONE.
There is a "VIEW FILE" link in the gridview.
On Clicking this link, the file should open in IE. How to open files in IE ??
4.Check whether the file is repeated while multiple uploading or not. If yes, it should give an error message.
5.Files are saved/uploaded in the folder (Physical Path, in my case it is E:\UploadedFiles\).
From the front-end, I want to check whether the file exists in this path/location or not.
If yes, the link "VIEW FILES" must be enabled else if the file does not exists, this button "VIEW FILE" should not be enabled. - HOW TO DO THIS ??
------------------
Please help.
Thanks a ton to all in advance....
Loading
Riddhi ValechaPosted Dec 11, 2014, 1:37 AM
I have already seen these links.
1. Code of Code Project site is not working.
2. I am not suppose to use JQuery as -I am new to it. Also, if in future any error occours in the project, there is no responsible person to solve.
The requirement is - Multiple file upload -
1. Either select using "CTRL" key
2. OR Drag and Drop files (just like gmail facility) and upload all at a time.
Thanks a lot for these links once again.
Manish Kumar ChoudharyPosted Dec 9, 2014, 6:39 AM
Hi Riddhi Valecha,
Go through following links it might help u
http://www.aspsnippets.com/Articles/Select-and-Upload-Multiple-Files-Gmail-Style-using-jQuery-and-ASP.Net.aspx
http://www.codeproject.com/Articles/24271/Multiple-File-Upload-User-Control
Riddhi ValechaPosted Dec 9, 2014, 6:30 AM
In multiple file upload-
I am not able to select multiple files using "Ctrl" key on keyboard...
Is there a way to do it??
Requirement -
User clicks on "Browse" button.
User should be able to select all .pdf files at a time, using "Ctrl" (Control) key.
User should be able to upload all the selected files.
The file should not be repeated in the selection.
PLease help.. .its urgent.
Riddhi ValechaPosted Dec 6, 2014, 12:41 AM
I have already tried and then only posted the issue.
My errors are -
1. I am not able to check whether a single file is selected once or more than one time.
If it is more than 1 time, the system must give a error message.
2. I have checked whether the file exits in the physical path given or not.
But, on that particular records, how to make "VIEW" link button enabled = false ???
Manish Kumar ChoudharyPosted Dec 5, 2014, 11:35 PM
first try to create it if error come then post that error.