I'm trying to upload a file, either by the form --> CFFILE method or by
specifying the file to upload via URL.file variable.  The CFFILE requires a
form field so this errors out.  Any ideas on how to accomplish this feat?

Thanks
Terry Long

----------------
<cfif isdefined("url.file")><cfset form.uploadedfile=url.file></cfif>
<!--- upload file with unique name --->
<CFSET IsOverwriteEnabled = "NO">

<cfif isdefined('uploadedfile')>
        <CFFILE
        action="UPLOAD"
        fileField="UpLoadedfile"
        destination="#application.attachmentpath#"
        nameConflict="MAKEUNIQUE">
<cfelse>
        Error - Input "UpLoadedFile" is missing....
        <cfabort>
</cfif>

----------------
Diagnositcs |
Error in CFFILE tag
The form field specified in the CFFILE tag (UPLOADEDFILE) does not contain
an uploaded file. Please be sure that you have specified the correct form
field name.

------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to