Upload file with POST method on Qt4

Posted by mosg on Stack Overflow See other posts from Stack Overflow or by mosg
Published on 2010-04-13T08:14:33Z Indexed on 2010/04/13 9:12 UTC
Read the original article Hit count: 412

Filed under:
|
|

Hello!

I'm looking for a basic code samples of how to upload files to server with HTTP POST method on Qt.

My task: I have simple Qt program and I need to select any image file from the local host and upload it to the server. The selection part and GUI is simple and I have already done it, but with POST uploading I'm confused. In addition I have to say, that there is no authorization to upload file.

If someone already looking this topic?

PS: the reason why I'm asking and not coding my self is time, I need to get this method quick.

Thank you, all success solutions from my side will be posted here for others.

© Stack Overflow or respective owner

Related posts about qt

Related posts about post