|
|
#1 | |
|
Registered User
Join Date: Mar 2004
Posts: 15,486
|
im programming in ASP.NET and im looking to upload multiple files to a server. i want to open a "Browse" window and select multiple files at once. after the files are selected, id like them to be moved to a queue, and then hit an "Upload" button to begin.
do i need to use an ActiveX control to do this? i know it can be done with java, but i really dont want to do this, since i need to add the file entries to a SQL database, and i already have written code to do this through ASP. all help is appreciated ![]() |
|
|
|
|
|
|
#2 | |
|
Join Date: Jul 2004
Location: MKE
Posts: 13,629
|
I did a mulitple-upload in PHP once, but I don't know of a way to open a single "browse" box, select multiple files and have them queue up. I assumed you'd have to use some sort of Ajax to do that.
The way I did it was by creating 10 browse inputs and allowing a max of 10 files at once. I know that's not really what you were hoping for, but this is beyond me. |
|
|
|
|
|
|
#3 | |
|
Registered User
Join Date: Mar 2004
Posts: 15,486
|
Quote:
i also found a way to create a queue. here's a link: http://www.codeproject.com/aspnet/multiuploads.asp i think im going to need to create an ActiveX control to select multiple files in a Browse window ![]() ive been looking around on how to make an ActiveX control, but there really arent any good sources out there on the web. |
|
|
|
|
|
|
#4 | |
|
Join Date: Jul 2004
Location: MKE
Posts: 13,629
|
|
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Nov 2002
Posts: 560
|
The way I did this was to dynamically create fileupload controls in the javascript section and store them in an array. Basically, when some selects a file, I hide the fileupload control and then display a new blank one in its place. Then when you post the form you will be able to loop through the posted file list in c#/vb.net.
__________________
12GB GSkill PC3-12800 (1600Mhz 9-9-9-24)|Thermaltake Tough Power 700w|Razer Megalodon 7.1 Headset BENQ XL2410T 24" 3D Monitor |
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Mar 2004
Posts: 15,486
|
i was hopin to have a window pop-up in which users can select multiple files to send at once. seems like i have to do it with ActiveX or with Java or something
|
|
|
|
|
|
|
#7 |
|
Dethklok Returns!
|
I have a script somewhere on my server that allows for multiple file uploading via PHP using FTP. If you grab the trial version of Zend Studio, i think i found the script in the included snippets.
|
|
|
|
|
|
#8 |
|
Registered User
Join Date: Dec 2009
Posts: 1
|
I would also recommend to try Q-ImageUploader which is a multiple files uploading Flash component and allows to:
- resize/compress/rotate images on the client side befor uploading to server - generate preview - add watermarks - add tags, descriptions, album names to photos - highly customizable with software or with XML It has PHP and ASP integration examples. Now it also has Free Flash Files Uploader wich is very useful and easy to integrate and of course free. http://www.quadroland.com/q_imageuploader/ |
|
|
|
|
|
#9 |
|
Registered User
Join Date: Mar 2004
Posts: 15,486
|
I found a better program online that uses a Java applet. It integrates with PHP using either POST or PUT methods.
Forget the name of it... |
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fujitsu Marries GPUs and Xeon in High-Density HPC Server | News | Latest Tech And Game Headlines | 0 | 06-13-12 06:30 PM |
| Virtualization, Windows Server 2012 dominate Microsoft's TechEd | News | Latest Tech And Game Headlines | 0 | 06-11-12 06:10 PM |
| US argues it shouldn't have to give Megaupload user his legit files | News | Latest Tech And Game Headlines | 0 | 06-11-12 01:20 PM |
| driver upgrade deleted files | shift f7 | NVIDIA Linux | 1 | 09-29-02 02:13 PM |
| Need help to get the X to work on my Acer TravelMate 630 | knchee | NVIDIA Linux | 16 | 09-19-02 10:16 PM |