Hi Gareth ,

This example is streaming a zip file on the fly - maybe will help in your CSV problem?

http://pablotron.org/software/zipstream-php/

Cheers,
-Chris


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]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to