Yeah, get rid of the cftry

Grab firebug, and turn on the net monitoring, that'll track the response.

If you're running cf8 you could also do this:

<cfloop list=
"type,version,comment,email,exception,system,console,crashes,preferences,shell"
index="thisFile">

<cftry>

  <cffile action="upload" destination="/path/to/write/to/#thisFile#"
fileField="#thisFile#">

<cfoutput>OK 004 #thisFile#</cfoutput>

<cfcatch type="any">

                <cfdump var="#cfcatch#" output="#expandPath('/dump.html')#
/>

<cfoutput>

ERR O4 #thisFile#

failed to create file

</cfoutput>

</cfcatch>

</cftry>

</cfloop>

Which will dump the error into your web root.

Mark

On Wed, Jun 17, 2009 at 12:16 PM, Ben Lowndes <ben.lown...@gmail.com> wrote:

> On Wed, Jun 17, 2009 at 12:12 PM, Steve Onnis <st...@cfcentral.com.au>wrote:
>
>>  Whats the form look like?
>>
>
> That's part of the problem - because it's being posted from a Cocoa app I
> can't see exactly the structure of the form, but the php script handles it
> fine.
>
> So far I've just been looking at the apache access log file to monitor if
> the app is posting correctly to my CF script, which it is, but I need more
> detail so what tool can I use to inspect the http data being posted?
>
> >
>


-- 
E: mark.man...@gmail.com
W: www.compoundtheory.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to