Thanks for the quick replies.
I've fixed the problem and am going to share so other ppl don't have to waste
an hour like I did.
1) The form field name and the argument name do NOT have to be the same. I
named my input field "all" and my argument name "MP3File."
2) When you pass the file name to the CFC you can NOT reference it by the form
scope.
<cfinvokeargument name="MP3File" value="all">
3) In your CFC, you must put ## signs around the argument name in filefield.
<cffile action="UPLOAD"
destination="#expandpath('/UploadedFiles')#/MP3/#val(arguments.copyid)#"
filefield="#arguments.MP3File#" nameconflict="MakeUnique">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314825
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4