Re: [web2py] Reading a text file after uploading in a form

2012-11-01 Thread Johann Spies
On 31 October 2012 17:45, praveen krishna praveenchitne...@gmail.comwrote: Hi, For my task I have to upload a text file in form with out zipping it ,I have prepared the form as: form = FORM(TABLE(TR(TD('Upload File:', INPUT(_type='file', name='myfile', id='myfile',

Re: [web2py] Reading a text file after uploading in a form

2012-11-01 Thread praveen krishna
Nol there is no such requirement.Actually I am able to upload and read a text file by zipping it but for my task I have upload a text file . On Thu, Nov 1, 2012 at 7:24 AM, Johann Spies johann.sp...@gmail.com wrote: On 31 October 2012 17:45, praveen krishna praveenchitne...@gmail.comwrote:

Re: [web2py] Reading a text file after uploading in a form

2012-11-01 Thread Jim S
This is working for me. I have a similar requirement. Select a text file to be processed and pass it to a separate routine to process the file: form = SQLFORM.factory( Field('brillXf1', 'upload', uploadfolder=os.path.join(request.folder,'uploads'), label='Brill XF1 File')) if

Re: [web2py] Reading a text file after uploading in a form

2012-11-01 Thread praveen krishna
where can I download the 'reports' module? I am getting error while calling that module. On Thu, Nov 1, 2012 at 1:12 PM, Jim S j...@qlf.com wrote: This is working for me. I have a similar requirement. Select a text file to be processed and pass it to a separate routine to process the file:

[web2py] Reading a text file after uploading in a form

2012-10-31 Thread praveen krishna
Hi, For my task I have to upload a text file in form with out zipping it ,I have prepared the form as: form = FORM(TABLE(TR(TD('Upload File:', INPUT(_type='file', name='myfile', id='myfile', requires=IS_NOT_EMPTY(,TR(TD(INPUT(_type='submit',_value='Submit') But I unable to read the