Hi,

i'am trying to post image to web server using QHttpMultiPart, and ewerything was fine until i moved my php part to new web server... now images i'am saving have only 4bytes and when i try to open them in browser it says that the file is corrupted. What can be the couse of such behaving ?

on request finished replay var_dump($_POST) gives me this:

Qt Code:
  1. array(3) {
  2. ["idx"]=>
  3. string(2) "10"
  4. ["qname"]=>
  5. string(9) "test1.jpg"
  6. ["qfile"]=>
  7. string(4) "˙Ř˙ŕ" << here is the problem, length is only 4
  8. }
To copy to clipboard, switch view to plain text mode 

but when i post to old server i get

Qt Code:
  1. array(3) {
  2. ["idx"]=>
  3. string(2) "10"
  4. ["qname"]=>
  5. string(9) "test1.jpg"
  6. ["qfile"]=>
  7. string(112871) "˙Ř˙ŕ << here length is ok
To copy to clipboard, switch view to plain text mode 

in wireshark post looks fine for me. Code i'am using is taken form QHttpMultiPart class reference, so it's pretty basic.
thanks for any help and sorry for my poor english.