Go Back   nV News Forums > Software Forums > Software Development

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-24-07, 05:16 PM   #1
ViN86
 
Join Date: Mar 2004
Posts: 15,486
Default Uploading Multiple Files to a Server

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
ViN86 is offline   Reply With Quote
Old 04-24-07, 05:19 PM   #2
superklye
 
Join Date: Jul 2004
Location: MKE
Posts: 13,629
Default Re: Uploading Multiple Files to a Server

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.
superklye is offline   Reply With Quote
Old 04-24-07, 05:22 PM   #3
ViN86
 
Join Date: Mar 2004
Posts: 15,486
Default Re: Uploading Multiple Files to a Server

Quote:
Originally Posted by superklye
I did something similar 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.
yea, this is what i have implemented currently.

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.
ViN86 is offline   Reply With Quote
Old 04-24-07, 05:40 PM   #4
superklye
 
Join Date: Jul 2004
Location: MKE
Posts: 13,629
Default Re: Uploading Multiple Files to a Server

check out my favorite tutorial site:

www.pixel2life.com


they may have something...
superklye is offline   Reply With Quote
Old 04-30-07, 08:29 AM   #5
Jon
Registered User
 
Jon's Avatar
 
Join Date: Nov 2002
Posts: 560
Default Re: Uploading Multiple Files to a Server

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.
__________________
Intel i5-2500K (4Ghz)|2 x Nvidia 560GTX TI (880/2100mhz)|Crucial M4 SSD
12GB GSkill PC3-12800 (1600Mhz 9-9-9-24)|Thermaltake Tough Power 700w|Razer Megalodon 7.1 Headset
BENQ XL2410T 24" 3D Monitor
Jon is offline   Reply With Quote
Old 05-06-07, 11:20 PM   #6
ViN86
 
Join Date: Mar 2004
Posts: 15,486
Default Re: Uploading Multiple Files to a Server

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
ViN86 is offline   Reply With Quote
Old 05-17-07, 04:24 PM   #7
t3hl33td4rg0n
Dethklok Returns!
 
t3hl33td4rg0n's Avatar
 
Join Date: Dec 2004
Location: Kent, OH
Posts: 2,142
Send a message via AIM to t3hl33td4rg0n Send a message via MSN to t3hl33td4rg0n Send a message via Yahoo to t3hl33td4rg0n
Default Re: Uploading Multiple Files to a Server

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.
__________________


Intel QX9650 @ 3.83GHzXFX 780ieVGA GTX 560Ti8GB GSkill DDR800Creative Sound Blaster X-Fi Titanium PCI-ESeagate 1.5TB . 4x Samsung 2TB

Quote:
Originally Posted by MowTin View Post
....it's so clear how government makes things worse not better...
t3hl33td4rg0n is offline   Reply With Quote
Old 12-28-09, 04:41 AM   #8
Lyaksej
Registered User
 
Join Date: Dec 2009
Posts: 1
Default Re: Uploading Multiple Files to a Server

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/
Lyaksej is offline   Reply With Quote

Old 12-31-09, 12:12 PM   #9
ViN86
 
Join Date: Mar 2004
Posts: 15,486
Default Re: Uploading Multiple Files to a Server

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...
ViN86 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fujitsu Marries GPUs and Xeon in High-Density HPC Server News Archived News Items 0 06-13-12 06:30 PM
Virtualization, Windows Server 2012 dominate Microsoft's TechEd News Archived News Items 0 06-11-12 06:10 PM
US argues it shouldn't have to give Megaupload user his legit files News Archived News Items 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

All times are GMT -5. The time now is 05:52 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.