[Ilugc] Accessing the contents of "file" input from HTML form

  • From: manokaran@xxxxxxxxx (Manokaran K)
  • Date: Sat Jul 24 00:03:48 2010

2010/7/23 ??? ?????? <vrpcse@xxxxxxxxx>


When  i return the "req.form['upload'].value" form "my.py" for zip
file uploading, i got the following things

PK
?????`??<???????????? ? ?test/UT        ? $cJL-cJLUx ?????PK
?????`??<&u6  ??? ??? ? ?test/test.pyUT ? $cJL%cJLUx ?????summa

Dont get confusion, this is what i got (symbols).

Can anyone help me regarding this?


You should set the Content-type http response header to the appropriate
value for a zip file.

regds,
mano

Other related posts: