PDA

View Full Version : Upload file with QNetworkAccessManager



TIT
20th October 2010, 22:49
Hi.

I have some .php script. It wait file on POST request and reply some plaint/text string.
How I can do it? I think what i must use QNetworkAccessManager?
I try learn some examples form QtCreator/Network section, but... I'm newbie on Qt.
Plz, help me. I need some example for open file, send request and reply string from .php script.

Thnx and sorry for my bad English.

borisbn
21st October 2010, 04:59
Have a look at this thread (www.qtcentre.org/threads/17564-file-upload-using-QNetworkRequest-amp-QNetworkAccessManager)