Your code looks fine. What browser are you using? Some Mac browsers
are known to have problems with file uploading in general.

-- 
 jon
 mailto:[EMAIL PROTECTED]

Monday, August 12, 2002, 3:23:23 PM, you wrote:
JAT> trying to upload files.  here's what i got.

JAT> upload.cfm =
JAT> <form action="upload-action.cfm" enctype="multipart/form-data">
JAT> <input type="file" name="filecontents">
JAT> <br>

JAT> <input type="submit" value="UPLOAD THE FILE">

JAT> </form>


JAT> upload-action.cfm =

JAT> <CFFILE ACTION="Upload"
JAT>     FILEFIELD="FileContents"
JAT>     DESTINATION="c:\www\dre\home_images"
JAT>     ACCEPT="image/jpg"
JAT>     NAMECONFLICT="MakeUnique">
JAT> <Cfoutput>
JAT> You just uploaded this file: #clientfile#
JAT> It can be viewed now at http://localhost/dre/home_images/#clientfile#
JAT> </CFOUTPUT>

JAT> just trying to get a small demo setup running.  basic functionality.

JAT> im getting this error:

JAT> Error in CFFILE tag

JAT> The form field specified in the CFFILE tag (FILECONTENTS) does not contain
JAT> an uploaded file. Please be sure that you have specified the correct form
JAT> field name.

JAT> The error occurred while processing an element with a general identifier of
JAT> (CFFILE), occupying document position (9:1) to (13:30) in the template file
JAT> c:\www\dre\admin\upload-action.cfm.

______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to