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
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
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!
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
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
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
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.
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
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
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
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
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
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
13 matches
Mail list logo