PDA

View Full Version : Qhttp Upload file



danny.lesnik
7th December 2009, 23:20
Hi,

I know this issue has beed raised before, but I didn't get any idea on it so I decided to raise it again:

Can you please help me with my dillema:

1) What is the best way to upload file to server Post or PUT?

2) Does qt support file streaming:

3) can you help me with example which can help me to upload file the best way. Thank you for youp patience.

Best regards,
Danny.

pucara_faa
7th December 2009, 23:42
You should take a look at this: http://www.tuckdesign.com/sources/Qt

It was really useful for me.

mgoetz
8th December 2009, 09:19
Please use QNetworkAccessManager.
QHttp is deprecated in Qt 4.6.

danny.lesnik
9th December 2009, 11:24
Hi,

Can you point me to any working example how to upload file with QNetworkAccessManager?

I'm new to Qt and and any example might be very helpfull.

Danny.

Olema
9th December 2009, 14:50
*Grumble*

Yes, QHttp is deprecated in 4.6, but for those of us who are writing DAV clients, we need access to the other HTTP verbs (PROPFIND, MKCOL, etc) which aren't easily available in QNetworkAccessManager....

mgoetz
11th December 2009, 09:02
Added a task entry on http://bugreports.qt.nokia.com/browse/QTBUG-6743