Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

multiple file uploads

Status
Not open for further replies.

MarcDePoe

Programmer
Dec 19, 2000
101
US
I need for a user to be able to upload multiple files (30 at a time) with as much ease as possible. ie NOT one at a time.

Does anyone know of a way to do this?
OR might there be some nice little FTP web interface somewhere that I dont know about?

Any help greatly appreciated,
Marc
 
Have you checked the tag gallery? There are a couple of custom tags there that handles multiple file uploads (search for CF_FileUpload)
This was well over a year ago, but I had used a program called Applet File ( which is a java applet based front end to allow users to upload/download multiple files at a time. It worked great and was extremely easy to use. They had some sample CF code that could be used for it. They also have an ASP component as well, that may be easily modified.

HTH,
Tim P.
 
Marc,

Here's some code straight from "Mastering ColdFusion 4.5" that might help. This example assumes you will use a form to create a file upload field:

<FORM ACTION=&quot;upload.cfm&quot;
METHOD=&quot;POST&quot;
ENCTYPE=&quot;multipart/form-data&quot;>
File: <INPUT TYPE=&quot;FILE&quot; NAME=&quot;MyFile&quot;><BR>
<INPUT TYPE=&quot;SUBMIT&quot;>
</FORM>

The action page would contain the code:

<CFFILE ACTION=&quot;UPLOAD&quot;
FILEFIELD=&quot;MyFile&quot;
DESTINATION=&quot;C:\temp&quot;
NAMECONFLICT=&quot;MAKEUNIQUE&quot;>

<CFOUTPUT>Your file was uploaded and saved as #File.ServerFile#</CFOUTPUT>
 
Whoops. Should've read your post a little better. Hope the recommended custom tag was of help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top