User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 456,575 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,596 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 2361 | Replies: 5
Reply
Join Date: Oct 2007
Posts: 1
Reputation: codeVG is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
codeVG codeVG is offline Offline
Newbie Poster

Help Multiple File(s) upload without Multiple Browse option

  #1  
Oct 29th, 2007
HI All,
can any one help me out in selecting multiple files for uploading them to the server.

The requirement is as follows.
1) SELECTING MULTIPLE FILES (around 50 images) at a time using Shift/Control keys from keyboard
2) upload them to server .


Note:
1) The solution should work for MAC, FireFox and IE (5+) Browsers. Hence the solution is expected not in the form of signed ActiveX / signed Applets.
2) There should be no multiple Browse option and <input type="File" />

Thanks in advance


VG
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Sep 2007
Posts: 1,058
Reputation: SheSaidImaPregy is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 61
SheSaidImaPregy SheSaidImaPregy is offline Offline
Veteran Poster

Re: Multiple File(s) upload without Multiple Browse option

  #2  
Oct 29th, 2007
ASP.NET does not allow this as far as I know. Your only options are ActiveX and Java Applets. ActiveX mostly runs on IE but Java runs on the other browsers, as you want it to.
Reply With Quote  
Join Date: Jul 2008
Posts: 2
Reputation: dietervi is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
dietervi dietervi is offline Offline
Newbie Poster

Re: Multiple File(s) upload without Multiple Browse option

  #3  
Jul 11th, 2008
I have the same issue. I want to upload multiple files using the shift/control keys on the keyboard.

At the moment, I am using the FreeASPUpload code, with multiple browse buttons.

Is there a possibility to add the multiple select functionality using Java, and then still uploading the files with ASP?

Many Thanks,

Dieter
Reply With Quote  
Join Date: Sep 2007
Posts: 1,058
Reputation: SheSaidImaPregy is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 61
SheSaidImaPregy SheSaidImaPregy is offline Offline
Veteran Poster

Re: Multiple File(s) upload without Multiple Browse option

  #4  
Jul 11th, 2008
Well, the thing is that you must have an activex or java application to get the files. Uploading them after that point is always open to anything you wish. What it does is puts the selected files into order and uploads one at a time, or some will upload all of them at once. If you know java, then build an application that submits the upload directory url to an asp page, which uploads the file. You would do this for as many times as you need. Your best bet in this instance would be to use Ajax and the Java. This way you can upload all the files at once, and don't have pending requests to the server. But what you are talking about doing is a lot of coding, so make sure it's worth it on your end. Otherwise, look on c-sharp corner (a website) and look for flash file upload. It's a program that a member of that site built that (I believe), accepts multiple uploads at once. However, I do believe you have to select one at a time.

In my opinion, it's not worth it as most people won't care. They would "love" that functionality, but they won't hold it against you that you do not have it.
I answer pm's.
I answer questions.
I answer quickly.
I answer.
Reply With Quote  
Join Date: Jul 2008
Posts: 2
Reputation: dietervi is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
dietervi dietervi is offline Offline
Newbie Poster

Re: Multiple File(s) upload without Multiple Browse option

  #5  
Jul 15th, 2008
As for now, It all works with multiple browse buttons. Files are successfully uploaded and processed for loading their data into the database.

So the only thing I need would be the select functionality.
I think about several possiblities.
- Have some coding for the multiple select using ctrl/shift, and that the filenames are written as defaults to the selection boxes that I already have. Then I can upload them with the asp-code I already have.
- If the multiple selection is still impossible or might require too much work. Then I think my client would settle with a solution where you can select an entire folder (so only one selection is made) and that a script loops through all the files in it and fills in the filenames again in the selectionboxes.

Does anyone know some code for either selecting a folder, and read the contents. or either select multiple filenames using shift/ctrl, an write those names in a form-input element.

best regards

Dieter
Last edited by dietervi : Jul 15th, 2008 at 11:14 am. Reason: spelling
Reply With Quote  
Join Date: Aug 2008
Posts: 1
Reputation: pradyuman is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
pradyuman pradyuman is offline Offline
Newbie Poster

Re: Multiple File(s) upload without Multiple Browse option

  #6  
Aug 8th, 2008
Hi Friends,

I also searched for same problem of uploading multiple file with one browse button, I didn't find any coding solution but I find two paid user controls one is flash based and one is Java Applet based.

http://www.powupload.com/Examples/Po...S/Default.aspx

http://www.element-it.com/DemoMultiPOW.aspx

if you find any alternet solution then please let community know.

Thanks
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 6:11 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC