exceptions.AttributeError at /upload2
'_inputfs'
How do I access _inputfs for the file name or how is it meant to be
done?
Thanks in advance.
Try changing the 'web.context._inputfs' to 'web.ctx._inputfs' and the
example should work.
Cheers,
-Curtis
Tried to change to web.ctx._inputfs but still get:
exceptions.AttributeError at /upload2 '_inputfs'
// FS
If you want a more complicated object returned, set the key to a
dictionary in web.input's defaults. That is:
fileobj = web.input(f={}).f
Also, the same thing now works with lists and getting multiple values back;
valuelist = web.input(v=[]).v
Hope this helps.
It did :) Thanks Aaron.
// Fs