What I need to do? It is hard to explain but I will tray. On my faculty I need to setup small web for professors and students. Professors can upload files (*.pdf, and possibly some *.zip) and they need to login for putting content - uploading files. Filter is make like SELECT(OPTION(),OPTION()), and I have 4 SELECT (4 drop-down list) >From Select and options I use professor name and his id, subject name and subject id ... from professor.id and subject.id and some other parameters I need to create file name...
example of my file name in upload folder: professor.id_subject.id_year_number.pdf number is some number like number of row in database or just simply ++ counter year is current year, can be setup from list or from date() The content is not confidential, now is on open FTP, just some lectures from mathematics or other subjects. We have problems with FTP, professors have problem to upload files on FTP (ftp tools are complicated for them - some of professors are old ...) On student side I have multi apply filter, after students select list options and apply filter they will get list of file for download. I hope so that is understandable. Miroslav On Nov 18, 9:54 pm, Anthony <abasta...@gmail.com> wrote: > web2py renames the file for security purposes, and to enable it to retrieve > the file later via response.download. It encodes the original filename > within the new filename and decodes it upon download. What exactly do you > need to do? > > Anthony > > > > > > > > On Friday, November 18, 2011 3:03:48 PM UTC-5, miroslavgojic wrote: > > > I have upload form, and it's work. > > I use example from book. > > > But file get new name by web2py, can I control this name and how > > > on other words can I give my name for uploaded file. > > > Regards > > > Miroslav