Alternative to CFCONTENT

2010-10-29 Thread Chad Baloga
We are serving files from a file server to users using cfcontent/cfheader. When we upgraded to CF9, we started getting the java heap space errors when users would try to download files larger than 250mb. We have the min and max heap space settings on 1024mb. Are there any other alternatives

Re: Alternative to CFCONTENT

2010-10-29 Thread Russ Michaels
The reason most people use cfcontent like this is to secure files from public access. The alternative is just to use authenticated access using. Htaccess, this means users must login to access files. Russ On 29 Oct 2010 17:45, Chad Baloga cbal...@gmail.com wrote: We are serving files from a

Re: Alternative to CFCONTENT

2010-10-29 Thread Mark Mandel
Try mod xsendfile if you are on apache http://tn123.ath.cx/mod_xsendfile/ Mark Sent from my mobile device On 30 Oct 2010 03:45, Chad Baloga cbal...@gmail.com wrote: ~| Order the Adobe Coldfusion Anthology now!

faster alternative to cfcontent for large file downloads?

2006-05-02 Thread Jeff Horne
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

Re: faster alternative to cfcontent for large file downloads?

2006-05-02 Thread Zaphod Beeblebrox
you could always write a copy of the file to a temp directory and then have the anchor point to it. If need be, for security, you could always name the file with UUID then clean up the directory at night or after some set time period On 5/2/06, Jeff Horne [EMAIL PROTECTED] wrote: I am using

RE: faster alternative to cfcontent for large file downloads?

2006-05-02 Thread Dave Watts
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

Re: faster alternative to cfcontent for large file downloads?

2006-05-02 Thread Jeff Horne
One approach I've used successfully, is to create symbolic links to the files (in Unix) or their directories (in Windows), then delete those after a set period. Dave, Would you be able to site an example of how to do this in Windows? Thanks.

RE: faster alternative to cfcontent for large file downloads?

2006-05-02 Thread Dave Watts
Would you be able to site an example of how to do this in Windows? Use CFEXECUTE to run the junction.exe utility available from http://www.sysinternals.com/. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction

Re: faster alternative to cfcontent for large file downloads?

2006-05-02 Thread Jeff Horne
Use CFEXECUTE to run the junction.exe utility available from http://www.sysinternals.com/. I have downloaded the program and created this cfexecute. cfexecute name=d:\inetpub\wwwroot\junction.exe arguments=d:\file_downloads d:\inetpub\wwwroot\programs\download\ timeOut=600/cfexecute I have

RE: faster alternative to cfcontent for large file downloads?

2006-05-02 Thread Dave Watts
I have downloaded the program and created this cfexecute. cfexecute name=d:\inetpub\wwwroot\junction.exe arguments=d:\file_downloads d:\inetpub\wwwroot\programs\download\ timeOut=600/cfexecute I have done this but my link looks like file:///d:/file_downloads/42100/42100373.exe in

Re: faster alternative to cfcontent for large file downloads?

2006-05-02 Thread Jeff Horne
Thanks Dave. I'm getting there. We are on CF5. I've changed my code to the text below. cfexecute name=c:\WINNT\system32\junction.exe arguments=d:\inetpub\wwwroot\file_downloads d:\inetpub\wwwroot\programs\download\ timeOut=600 outputFile = d:\temp\output.txt/cfexecute cfset lcDownload = a

RE: faster alternative to cfcontent for large file downloads?

2006-05-02 Thread Dave Watts
I've changed my code to the text below. cfexecute name=c:\WINNT\system32\junction.exe arguments=d:\inetpub\wwwroot\file_downloads d:\inetpub\wwwroot\programs\download\ timeOut=600 outputFile = d:\temp\output.txt/cfexecute cfset lcDownload = a

Re: faster alternative to cfcontent for large file downloads?

2006-05-02 Thread Jeff Horne
Thanks again, Dave. Turns out the directory had permissions set to run executables. I turned it off and the option to save comes up fine. Much thanks. Jeff ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239346