On Thursday, November 14, 2013 6:21:26 AM UTC+1, Rahul wrote: > > Hi Ricardo, > Thanks for the response, but I don't understand why it should be > a windows limit. I have many files with much larger names in windows, never > had such a problem. Besides this only occurs when we are uploading it in > web2py. Could SQLite database be a constraint ? I am using sqlite for this > app. What might cause this, for now I have reduced the file name and it > gets uploaded just fine. > > Sincerely, Rahul D. > >> >> There's no way you can have a path with more than 260 characters in windows. Any database has no issues on handling long paths, only the underlying filesystem. If you choose to store files in your uploads folder, and you are on windows, you need to limit the length of the filenames users try to upload. Alternatively, you can store files in the database in a blob field.
-- 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/groups/opt_out.