nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   Software Development (http://www.nvnews.net/vbulletin/forumdisplay.php?f=53)
-   -   Uploading Multiple Files to a Server (http://www.nvnews.net/vbulletin/showthread.php?t=90358)

ViN86 04-24-07 05:16 PM

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 :D

superklye 04-24-07 05:19 PM

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.

ViN86 04-24-07 05:22 PM

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.

superklye 04-24-07 05:40 PM

Re: Uploading Multiple Files to a Server
 
check out my favorite tutorial site:

www.pixel2life.com


they may have something...

Jon 04-30-07 08:29 AM

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.

ViN86 05-06-07 11:20 PM

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 :thumbdwn:

t3hl33td4rg0n 05-17-07 04:24 PM

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.

Lyaksej 12-28-09 04:41 AM

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/

ViN86 12-31-09 12:12 PM

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


All times are GMT -5. The time now is 06:01 PM.

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