There's no way. You could modify the 'base.py' of pydal to add it... It looks like it will stop on a line if the whole line is this: END
On Sunday, July 26, 2015 at 6:47:47 AM UTC-7, Yebach wrote: > > Hello > > How can i limit the number of rows user can upload trough > .import_from_csv_file(request.vars.csvfile.file, delimiter=";") > > i tried with counting rows and setting limit but this way the records are > not imported even if they are below the limit number > (see post > https://groups.google.com/forum/#!searchin/web2py/yebach%7Csort:date/web2py/FhgWebuuk4o/sf9dVT05EnYJ > ) > > any suggestions? > > Thank you > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.