Re: [web2py] Re: post file to a server

2019-10-17 Thread Christian Varas
Hi, I have an app that use CKeditor who send images to the server and the function who catch this file is more or less like this: Server TWO def ImgUpload(): a = stuffs.Stuffs() #Custom library name = a.password(20) rand_name = a.password(20) #path where the files will be saved

[web2py] Re: post file to a server

2019-10-17 Thread Auden RovelleQuartz
I found a solution step one: install the Paramiko library on the application server (SERVER_ONE) step two: import the paramiko library step three: use the "putfo" method here is an example def file_upload(): import paramiko form = FORM( DIV( INPUT( _type = "file", _name = "file", ) ), DIV( IN