Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

download file in coldfusion

New Here ,
Jan 11, 2009 Jan 11, 2009
hi, i'm sue..i'm familiar using cffile to upload file ..but now i dont know how to download file via source code like using cffile action='upload'. could u help me ?thanks alot
TOPICS
Advanced techniques
975
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 12, 2009 Jan 12, 2009
CFFILE doesn't do 'download' because download is done via a simple link - I'm not sure what you're trying to do but why don't you just code in a link to the file that you want users to download?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 12, 2009 Jan 12, 2009
shurah wrote:
> hi, i'm sue..i'm familiar using cffile to upload file ..but now i dont know how to download file via source code like using cffile action='upload'. could u help me ?thanks alot

cfcontent might or might not be what you want.

First link on Google for "cfcontent download":
http://www.rickroot.com/blog/1/2005/08/Note-to-self--Using-CFCONTENT-to-force-file-download-instead-...

--
Mack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 12, 2009 Jan 12, 2009
LATEST
thanks alot...for ur assistant Mark. its really function..
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources