> I'm working on a webmail application and I want to give users the ability
> to attach multiple files to there messages. I know how to do the server
> part of this procedure but not the client side.
> I can't get this to work with <input type="file"> cause this only supports
> one file at a time and I want my users to give the ability to attach
> multiple files. Any idea on how to accomplish this?

AFAIK, using a standard <input type="file"> form, there is currently no way
to do this.  You may be able to find some browser plugins that will help
you, but I'd make that a last resort.  You can allow user to upload files
all zipped up into one file and use CFX_Zip to disassemble them, but that
assumes your users have working knowledge of WinZip, and if they are
uploading a zip, why not just attach it as one file...

The best way I have seen to handle this is to allow users to upload files
one at a time and just keep track of them on the server during their
session.  A good example of this is the way hotmail.com handles attachments
for email.  Hotmail takes you to a different screen for attachments and
allows you to upload files one at a time in a form on the left while keeping
track of them in a list on the right.  Get a Hotmail account and check it
out...

I suppose there are other workarounds (FTP the files etc...), but they
usually are such a pain in the butt that it defeats the purpose of your
"simple to use webmail app".

-Cameron

--------------------
Cameron Childress
elliptIQ Inc.
p.770.460.1035.232
f.770.460.0963
--
http://www.neighborware.com
America's Leading Community Network Software
______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to