Skip to main content
May 2, 2006
Question

faster alternative to cfcontent for large file downloads?

  • May 2, 2006
  • 1 reply
  • 524 views
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
This topic has been closed for replies.

1 reply

Inspiring
May 2, 2006
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: