S3 Fineuploader with web2py

50 views
Skip to first unread message

Sharjeel Ali Shaukat

unread,
Nov 28, 2016, 1:58:32 AM11/28/16
to web2py-users
Does anyone done work on fineuploaders3 with web2py need multipart upload tutorial regarding that
Please help

Massimo Di Pierro

unread,
Nov 28, 2016, 6:22:36 PM11/28/16
to web2py-users
What you trying to do excately? Upload from web2py forms to S3? Than you do:

easy_install pyfilesystem

>>> import fs.s3fs
>>> myfs = fs.s3fs.S3FS(bucket, prefix, aws_access_ke, aws_secret_key)
>>> db.define_table('test',Field('file','upload',uploadfs = myfs))
Reply all
Reply to author
Forward
0 new messages