Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

  • Hi,

    I have released an implementation for web frameworks using python (like turbogears).
    I share my solution to help others and receive comments

    @expose()
    def upload(self, **kw):
    h = open(\".\"+kw[\"folder\"]+\"/\"+kw[\"Filename\"], \"wb\")
    while 1:
    data = kw[\"Filedata\"].file.read(4096)
    if not data:
    break
    h.write(data)
    h.close()