PDA

View Full Version : upload files using QNetworkAccessManager



Raajesh
30th June 2008, 16:59
can some body explain on how to upload jpeg files using QNetworkAccessManager. I saw
assistant their is a snippet given to download a file and not download.

Thanks,
Raajesh

wysota
30th June 2008, 20:43
You can use QNetworkAccessManager::put() to upload files, but the remote server has to support it. Using QNetworkAccessManager::post() might be an option as well if there is a form on the remote server that allows one to send files.