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

faster alternative to cfcontent for large file downloads?

Guest
May 02, 2006 May 02, 2006

Copy link to clipboard

Copied

I am using cfcontent to securely download files so the user can not see the path the file is stored in. With small files this is fine, but with large 100mb+ files, it is much, much slower than a straight html anchor tag. Does anyone have a fast alternative to using cfheader/cfcontent for large files?

Thanks
TOPICS
Advanced techniques

Views

490

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
Contributor ,
May 02, 2006 May 02, 2006

Copy link to clipboard

Copied

LATEST
You should be able to use Java to handle this, either through a custom tag or you might be able to call the Java classes directly in Coldfusion. I don't know much about Java, but I found this example on the Web and got it to work for uploading files. Here's an example of the code. Hope it gives you some direction:

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