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

download file in coldfusion

New Here ,
Jan 11, 2009 Jan 11, 2009

Copy link to clipboard

Copied

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

Views

949

Translate

Translate

Report

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

Copy link to clipboard

Copied

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?

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST
thanks alot...for ur assistant Mark. its really function..

Votes

Translate

Translate

Report

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
Documentation