Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QHttp host and file
Forum Updated to NodeBB v4.3 + New Features

QHttp host and file

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 2.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ahmed kato
    wrote on last edited by
    #1

    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

    Ahmed Kato
    Computer & communications student
    Intern and MSP at Microsoft

    1 Reply Last reply
    0
    • V Offline
      V Offline
      vsorokin
      wrote on last edited by
      #2

      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.

      --
      Vasiliy

      1 Reply Last reply
      0
      • A Offline
        A Offline
        ahmed kato
        wrote on last edited by
        #3

        thank u very much :D:D

        Ahmed Kato
        Computer & communications student
        Intern and MSP at Microsoft

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved