I'm trying to achieve the same. http://www.tnyholm.se/symfony2-beta-upload-file/
<http://www.tnyholm.se/symfony2-beta-upload-file/>That guy did quite a good job, but it could be better, I will use that info anyway. If you find a better way, let us know please. 2011/6/3 Tomasz Leśniak <t.lesn...@gmail.com> > Hi everyone! > > How to uload file to the server using symfony 2. > I want to build a simple gallery bundle where I could upload files, > but images only (jpg | gif | png). > How to do that? how to limit upload files to image files? how to > configure upload dir, the name of uploaded file? > > Regards > > -- > 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