Displaying 4 results from an estimated 4 matches for "x_sendfile".
Did you mean:
x_send_file
2007 Dec 12
10
sendfile and mongrel
forgive me if this has been resolved already...
I have an app that is using sendfile to return large files to customers.
We can''t use regular Apache to handle this static content since the
files are what the customers are paying for - so it wouldn''t be cool for
anyone else to get access to them.
The issue is that the mongrel mem footprint gets bloated when the files
are
2008 Oct 27
8
why can't johnny download?
I''m working on an app that includes the feature to allow user to
download a csv file of their data.
I''ve got it working on my local machine, but when I deploy it, the link
I''m making doesn''t work for doing the download. The file IS being
created in the location I''m intending, but the file download only works
on my local machine and not on the server.
2007 Jun 10
6
Securing private file area
I''m building an application for a company that has thousands of clients, and
for each client there will a set of documents that are private to that
client. Rails makes it easy, of course, to show the list of documents on a
per-client basis, using acts_as_authenticated and using current_user as part
of the find any time a document list is displayed.
The part for which I''m looking
2010 Sep 22
20
problem in downloading large file with apache+mongrel
...i all,
am using apache as frontend to mongrel and loaded xsendfile
module in apache ,am looking for 1 GB of download .this is download
routine
def download
@stream = Stream.find(params[:id])
send_file(@stream.location,:filename => @stream.name,:disposition >
''attachment'',:x_sendfile => true )
and
And this is how it is processed
Processing StreamsController#download (for 127.0.0.1 at 2010-09-22
12:32:10) [GET] Parameters: {"id"=>"6596"}
<-[4;36;1mSQL (0.0ms)?[0m ?[0;1mSET NAMES ''utf8''?[0m
<-[4;35;1mSQL (0.0ms)?[0m ?[0mSET S...