Forums

This topic is locked

File field

Posted 27 Mar 2003 22:34:36
1
has voted
27 Mar 2003 22:34:36 Dan Melgoza posted:
if i want a file field for others to upload files to my server or even better a web page for others to download...what would i put in the "action" part of my property inspector to post the files to a webpage of my choice?<b></b><b></b>

Replies

Replied 28 Mar 2003 22:24:33
28 Mar 2003 22:24:33 Dennis van Galen replied:
The form wants a action, so point it to the page that does the actual uploading, like upload_form.cfm posts to upload_action.cfm. upload_action.cfm would have a <pre id=code><font face=courier size=2 id=code>&lt;cffile action="upload" filefield="form.file" destination="myuploadfolder/" nameconflict="makeunique"&gt;</font id=code></pre id=code> tag. That's all for uploading with coldfusion, for asp or php look in the extension section of this website for asp upload or php upload.

HTH.

with kind regards,

Dennis van Galen
DMXzone Manager
FAQ, Tutorial and Extension Manager


Studio MX / CFMX PRO / SQL 2000 / NT4 AND win2kPRO / IIS5

Reply to this topic