If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!

  • 0
    rajesh-patidar  7 years ago

    You can upload file

    >>> url = 'http://httpbin.org/post'

    >>> files = {'file': open('report.xls', 'rb')}

    >>> r = requests.post(url, files=files)

    >>> r.text

Commented on:

Is there a way for web2py app to upload file to www.copy.com instead of the server local file system ?

Hosting graciously provided by:
Python Anywhere