On Tuesday, July 28, 2015 at 5:29:28 PM UTC-7, Anthony wrote:
>
> That's the easiest way. If you do want to decode the filename yourself, 
> note the encoded filename is only the last segment of the new filename 
> (i.e., the part after the last "." -- in this case, "73716c2e6c6f67").
>
>>
>>>
And 
newname = ''
for c in filein:
  newname = newname + "%x" % (ord(c))



rather than base64?

/dps

 

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to