Results 1 to 6 of 6

Thread: Qhttp Upload file

  1. #1
    Join Date
    Nov 2009
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Qhttp Upload file

    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.

  2. #2
    Join Date
    Nov 2009
    Location
    Argentina
    Posts
    16
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qhttp Upload file

    You should take a look at this: http://www.tuckdesign.com/sources/Qt

    It was really useful for me.

  3. #3
    Join Date
    Oct 2009
    Posts
    37
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: Qhttp Upload file

    Please use QNetworkAccessManager.
    QHttp is deprecated in Qt 4.6.
    Disclaimer: Although I work on Qt for Nokia, anything I post here is personal

  4. #4
    Join Date
    Nov 2009
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qhttp Upload file

    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.

  5. #5
    Join Date
    Oct 2009
    Location
    Oakland, CA, USA
    Posts
    2
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Red face Re: Qhttp Upload file

    *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....

  6. #6
    Join Date
    Oct 2009
    Posts
    37
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: Qhttp Upload file

    Disclaimer: Although I work on Qt for Nokia, anything I post here is personal

Similar Threads

  1. QHttp file upload doesn't stream?
    By haughki in forum Qt Programming
    Replies: 9
    Last Post: 21st October 2009, 20:42
  2. QNetworkRequest file upload -- please help
    By Runtime Technologies in forum Qt Programming
    Replies: 3
    Last Post: 14th July 2009, 15:55
  3. File Binary Upload QHttp find the bug/s
    By patrik08 in forum Qt Programming
    Replies: 13
    Last Post: 10th June 2008, 07:51
  4. QHttp::post() - cannot upload file
    By arunredi in forum Qt Programming
    Replies: 5
    Last Post: 16th May 2008, 12:13
  5. QHttp "PUT METHOD" QT Problem File Upload. RFC 2616
    By patrik08 in forum Qt Programming
    Replies: 7
    Last Post: 25th October 2006, 22:02

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.