why not store the file on the servers hd (/tmp) before delivering it? Regards, Christopher.
Von: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Im Auftrag von Gareth McCumskey Gesendet: Donnerstag, 2. September 2010 09:43 An: symfony-users@googlegroups.com 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en