I am. The problem is that all the examples I see involve setting the headers
for the response (no problem there) and then it loads the file into memory
before sending it to the end user for download.

On Thu, Sep 2, 2010 at 11:32 AM, Christopher Schnell <
[email protected]> wrote:

>  why not store the file on the servers hd (/tmp) before delivering it?
>
>
>
> Regards,
>
> Christopher.
>
>
>
>
>
> *Von:* [email protected] [mailto:
> [email protected]] *Im Auftrag von *Gareth McCumskey
> *Gesendet:* Donnerstag, 2. September 2010 09:43
> *An:* [email protected]
> *Betreff:* [symfony-users] File Download too big for memory
>
>
>
> Hi all,
>
>
>
> I need some assistance in creating an action that will generate a CSV file
> on the server and then push that file for download to the end user. I have
> written the code to build the csv file and that works no problem. I have
> found plenty of stuff online about altering the response headers, etc in
> preparation for the download but they all end up loading the file to
> download into memory (using readfile()) and I would rather not do that as
> these CSV could get very very large potentially. Any tips anyone can share?
>
>
> --
> Gareth McCumskey
> http://garethmccumskey.blogspot.com
> twitter: @garethmcc
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<symfony-users%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>
>   --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<symfony-users%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>



-- 
Gareth McCumskey
http://garethmccumskey.blogspot.com
twitter: @garethmcc

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to