944,094 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 12137
  • ASP.NET RSS
Oct 29th, 2007
0

Multiple File(s) upload without Multiple Browse option

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
codeVG is offline Offline
1 posts
since Oct 2007
Oct 29th, 2007
0

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

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.
Reputation Points: 43
Solved Threads: 68
Veteran Poster
SheSaidImaPregy is offline Offline
1,080 posts
since Sep 2007
Jul 11th, 2008
0

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

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dietervi is offline Offline
2 posts
since Jul 2008
Jul 11th, 2008
0

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

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.
Reputation Points: 43
Solved Threads: 68
Veteran Poster
SheSaidImaPregy is offline Offline
1,080 posts
since Sep 2007
Jul 15th, 2008
0

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

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dietervi is offline Offline
2 posts
since Jul 2008
Aug 8th, 2008
0

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

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
pradyuman is offline Offline
1 posts
since Aug 2008
Mar 23rd, 2009
0

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

Hello.

Only third party solution can provide functionality for upload multiple files at once. As mentioned above posts it can be: ActiveX , Java Applet, Flash/Flex based controls, Silverlight based controls.
ActiveX and Java applet has usually advanced functionality but requires attention to trust certificate and client's security. Flash/Flex based and Silverlight based controls are more handy but have a limited access to user's OS and file system. Though, in most cases they are cover demanded requirements. Here are some of them:

http://www.swfupload.org - free flash-based control

http://www.easyalgo.com/eaflashupload.aspx - half free flash-based control

http://www.codeplex.com/SilverlightFileUpld - free silverlight-based control
Reputation Points: 10
Solved Threads: 0
Newbie Poster
GregEA is offline Offline
1 posts
since Mar 2009
Mar 23rd, 2009
0

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

Click to Expand / Collapse  Quote originally posted by GregEA ...
Hello.

Only third party solution can provide functionality for upload multiple files at once. As mentioned above posts it can be: ActiveX , Java Applet, Flash/Flex based controls, Silverlight based controls.
ActiveX and Java applet has usually advanced functionality but requires attention to trust certificate and client's security. Flash/Flex based and Silverlight based controls are more handy but have a limited access to user's OS and file system. Though, in most cases they are cover demanded requirements. Here are some of them:

http://www.swfupload.org - free flash-based control

http://www.easyalgo.com/eaflashupload.aspx - half free flash-based control

http://www.codeplex.com/SilverlightFileUpld - free silverlight-based control
That's actually incorrect. You can use AJAX to do multiple file uploads, however, you will most likely not have any idea of the size of the file without contact to the file system, which requires third party controls like ActiveX.

By the way, this thread is very old.
Reputation Points: 43
Solved Threads: 68
Veteran Poster
SheSaidImaPregy is offline Offline
1,080 posts
since Sep 2007
Nov 20th, 2009
0

Microsoft is really a big big shit !!!

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.
Uploading files is one of the most common task on the internet and these stupid executives at Microsoft were not clever enough to figure out that it might be useful to develop a little more than just uploading 1 file at a time function.

Stop using Microsoft is the only way to make them smarter
Reputation Points: 10
Solved Threads: 0
Newbie Poster
TiredOfLogin is offline Offline
1 posts
since Nov 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Forms Authentication and AD and SQL
Next Thread in ASP.NET Forum Timeline: Find control inside AJAX.Net UpdatePanel





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC