[web2py] Re: manual file upload using SQLFORM.factory

2014-05-21 Thread Tiana A. Ralijaona
rs to table and > field name. It then checks that Field object in order to figure out its > associated uploadfolder. Of course, because there is no > db.imagebiens.image_1 field, this lookup fails. > > Anthony > > On Tuesday, May 20, 2014 7:22:58 AM UTC-4, Tiana A. Ralijaona wr

[web2py] Re: manual file upload using SQLFORM.factory

2014-05-20 Thread Tiana A. Ralijaona
Hi everybody, I manually uploaded file via SQLFORM.factory too and the file has been uploaded using the excerpt below : forma = SQLFORM.factory( Field("image_1", "upload", uploadfield=True, uploadfolder=os.path.join(request.folder,'uploads/'), ...), ..., table_name=

[web2py] How to upload file to copy.com?

2014-02-05 Thread Tiana A. Ralijaona
Hi everyone, Is there a way for a web2py app to upload a file to www.copy.com (a file hosting provider) instead of uploading it to the server local file system ? Thanks in advance, Tiana R. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/w

[web2py] Upload file to copy.com

2014-02-05 Thread Tiana A. Ralijaona
Hi everyone, Is there a way for a web2py app, instead of uploading a file to the server local file system, to upload a file to a www.copy.com account? Thanks in advance, Tiana R. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Sour