Title: RE: [KCFusion] Uploading file from Web form

sounds to me like a permissions issue with saving a file to that directory.

-----Original Message-----
From: Keith Purtell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 26, 2003 2:02 PM
To: KCFusion (E-mail)
Subject: [KCFusion] Uploading file from Web form


A function I've used many times before isn't working, and I'm not sure what the problem is. We have
a Web form allowing users to upload files to our Web server. Using the standard field format ...
<FORM action="" method="post" ENCTYPE="multipart/form-data">
<INPUT TYPE="FILE" NAME="FileName" SIZE="45">
( other fields, submit button, etc. )

and at the receiving end is more standard format ...
<CFTRY>
  <CFFILE ACTION="">
  FILEFIELD="FileName"
  DESTINATION="C:\path_here"
  NAMECONFLICT="OVERWRITE">
<CFCATCH TYPE="Any">
  <CFOUTPUT>#CFCATCH.message#</CFOUTPUT>
</CFCATCH>
</CFTRY>

This worked before but this time the file never gets to its final destination. I wasn't even getting
error messages until I inserted some diagnostic code (CFFILE.AttemptedServerFile, CFFILE.ClientFile,
etc). Every one of the diagnostics came up empty; no value at all. The CF server debug output says
all my form fields are there, and even shows me the location where it stores my upload file in a
temp directory. So the file seems to upload to the server but fail after that. I tried tinkering
with the destination path but no luck. What am I missing?


Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole use of the
intended recipient(s) and may contain confidential and privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original message.

---
[This E-mail scanned for viruses by Declude Virus]

 
 
______________________________________________________________________
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives........ http://www.mail-archive.com/[EMAIL PROTECTED]
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe.................... mailto:[EMAIL PROTECTED]
To Unsubscribe................ mailto:[EMAIL PROTECTED]
 

Reply via email to