be running through this today, if I have any problems then I'll be in
touch.
Thanks,
Rob
-Original Message-
From: Josh Nathanson [mailto:[EMAIL PROTECTED]
Sent: 03 May 2007 19:01
To: CF-Talk
Subject: Re: File Upload CFC
There shouldn't be any problem doing a file upload via a CFC
Thanks for the pointer Josh,
I'll be running through this today, if I have any problems then I'll be in
touch.
Thanks,
Rob
-Original Message-
From: Josh Nathanson [mailto:[EMAIL PROTECTED]
Sent: 03 May 2007 19:01
To: CF-Talk
Subject: Re: File Upload CFC
There shouldn't be any
There shouldn't be any problem doing a file upload via a CFC.
One thing that's helped me is to wrap the file upload action in a try/catch
block. If it fails, return a message with the error details. If it
succeeds, return an upload successful message.
-- Josh
- Original Message -
Usually I end up passing the form field name that contains the file to my CFC
so that i can perform the cffile action=upload within my CFC. Beyond that,
it's very similar to handling the file via procedural programming.
Jake Pilgrim
4 matches
Mail list logo