if you use web2py trunk you should be able to do something easy like
@auth.requires_login()
def upload():
if request.post_vars:
db.table.insert(upload_fieldname=request.post_vars['fieldname'])
then do a post using basic auth.
On Wednesday, 27 June 2012 06:10:30 UTC-5, Adriano Almeida wrote:
>
> Hello Gentleman
>
> Is this possible to create a webservice with web2py to upload files
> (ex:pictures)? How could this be done if I want to have some security
> (password verification) on it?
>
> I would like to integrate a web2py service with a mobile application,
> dropbox style.
>
> Thanks in advance
>
> Adriano
>