After doing your CFFILE, try dumping a variable named "file"  That should
include all the info about the upload.  At least it did in older versions.

Jevo
-----Original Message-----
From: stas [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 10:52 AM
To: CF-Talk
Subject: CFFILE not throwing an exception

MX 6.1/W2K

I have a bit of code that handles file uploads:

...
<cftry>
  <cffile action="" filefield="FileName" destination="#clientList#"
nameconflict="MAKEUNIQUE">
<cfcatch type="Any">
  <cfthrow message="Couldn't upload customer list">
</cfcatch>
</cftry>
...

While trying to beef up the security on the server I removed the Everyone
account from having access to the destination folder and created a specific
account with access to this folder, but not the same account that CF is
running as.

The upload doesn't succeed, but it also doesn't raise any errors,  no matter
whether it's inside a try/catch block or not. Shouldn't it?

Thank you,

Stas

\
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to