hello, >From an upload form should request.vars.<upload_name>.filename contain the original file basename, full path, or the raw string of whatever was in content-disposition? I had assumed it was the basename but from some error tickets found it must be the raw string.
Would it be worth parsing this variable into something consistent? On my Linux box I am occasionally getting filenames like "C:\ \Documents and Settings\\user\\Desktop\\file.txt", which can't be parsed with os.path.basename(). Richard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---