QHttp host and file
-
if the link i want to download is http://documents.live.webs.delapalo.net:12007/download.php?url=http://memberfiles.freewebs.com/87/87/80628787/documents/Ahmed Hany Kato-CV.pdf
so i need to set host and get file:
@http->setHost(hostname)
http->get(filename)@if somebody know what is the host name and the file name in this link please tell me =)
http://documents.live.webs.delapalo.net:12007/download.php?url=http://memberfiles.freewebs.com/87/87/80628787/documents/Ahmed Hany Kato-CV.pdf -
QHttp class is obsolete long ago.
Use "QNetworkAccessManager":http://developer.qt.nokia.com/doc/qt-4.7/qnetworkaccessmanager.html
This "example":http://developer.qt.nokia.com/doc/qt-4.7/network-http-httpwindow-cpp.html help you.
-
thank u very much :D:D