When you upload a file using the CFFILE tag, the file is first UPLOADED
to the web server by IIS using a GET or POST command.  Then IIS passes
it along to CF.  IIS, unfortunately, writes GET and POST data to MEMORY
before passing it along to CF.  There is no way to make IIS do it any
other way.

We got around this limitation by using an ActiveX component called
"Catalyst File Uploader".  It can upload files using a PUT command
instead of a GET or a POST.  You just need to have a directory setup on
your web server with at least one user that has write access to it, then
use the control to PUT the file into that directory, passing along the
username/password credentials.  We even created our own wrapper ActiveX
control that displays a file picker interface that allows the user to
upload multiple files at once.

IIS handles the PUT command differently than the GET or POST commands.
The PUT command was intended for large files, where the GET And POST
were not.  It stores the file directly to the disk when accepting a PUT,
so the only limitation on file size is your filesystem and available
disk space.

If you don't want to limit your users to IE, I am sure there are Java
based applets that work in a similar fashion.  Our clients have had many
problems with client side Java so we try to avoid it if we can.  Our
sites are not used by the general public anyway, so limiting clients to
using IE was not a problem for us.

-----------------------------------------------------------------------
Stewart E. McGuire                          E-Mail: [EMAIL PROTECTED]
Senior IT Consultant                              Phone: (914) 641-2911
Red Oak Consulting                                  Fax: (914) 641-2998
Malcolm Pirnie, Inc.                               Cell: (845) 216-1626
-----------------------------------------------------------------------



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Flash for programmers - Flash MX Pro
http://www.houseoffusion.com/banners/view.cfm?bannerid=56

Message: http://www.houseoffusion.com/lists.cfm/link=i:10:5737
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/10
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:10
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.10
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to