Alan, I have finaly managed to get <CFFILE> to see form field as FILE field
but now I have problems uploading it to specific path. I am using CF-Linux
4.5, apache server and upon uploading, I am getting error that path does not
exists. Error message is below...
-----------------
Error processing CFFILE
The directory specified in the DESTINATION attribute of the CFFILE tag
(/www/www.aseanwap/home/common/images/packages) is not valid. The directory
either does not exist or is not accessible by the ColdFusion service.
The error occurred while processing an element with a general identifier of
(CFFILE), occupying document position (308:6) to (312:37) in the template
file /www/www.aseanwap/home/admin/package/qry_save.cfm.
-----------------
ColdFusion is run as 'nobody' as well as the webserver. I have no clue
except I know that folder stated in error message EXISTS.
Thanks
Almir
-----Original Message-----
From: McCollough, Alan [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 25, 2000 11:50 PM
To: '[EMAIL PROTECTED]'
Subject: RE: How to upload image using <INPUT type="FILE">
Heh heh, your problems go far deeper than "form2attributes"... Ya see, I
just went through this same problem last week. I had a site that worked fine
with CF4.01, and failed to work under CF4.5... multipart/form-data File
uploads would fail, with NO form variables being passed on, not just the
file.
SoOoOo, I called Allaire and the tech acknowledged they have observed file
upload failures with multi-processor CF servers. Ours is a 4-processor box
(yeah, heh heh).
Now, I don't think that was the problem cuz, if I used the app from a
Netscape client, the file uploads worked fine. File uploads failed with
IE4.72, and failed with IE5.0.
The fix for an IE-only shop? Upgrade to the latest IE5.5. Then, at last,
yeah, the file uploads work.
Seems to me the problem actually lies in a combination of client-side and
server-side processing.
After all, if the app worked with IE <= 5.0 on CF4.01, then IE can't be
totally at fault.
If the app works with Netscape and IE5.5 on CF4.5.1, then CF can't be
totally at fault. Or can it?
The moral of the story? formurl2attribues is doing nothing at all to disturb
the file data. Look elsewhere...
Alan McCollough
Web Programmer
Allaire Certified ColdFusion Developer
Alaska Native Medical Center
> -----Original Message-----
> From: Almir Cajic [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, August 24, 2000 7:30 PM
> To: [EMAIL PROTECTED]
> Subject: How to upload image using <INPUT type="FILE">
>
> I have been using fusebox technique for few months already and its simply
> cool... I have desinged my first CF site using fuseboxes and works great
> (www.12xplore.com). However, I have problem using <INPUT type="FILE"> to
> upload images. I think that form2attributes file affect my FILE
> information
> and I just can't upload it. I put ENCTYPE="multipart/form-data" in my FORM
> tag.
> If you have any suggestions for me, please let me know... I would
> appreciate
> it.
>
> Thanks in advance
>
> Almir
>
> --------------------------------------------------------------------------
> ----
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
----------------------------------------------------------------------------
--
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.