×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Sep 2008
    Location
    Vancouver, Canada
    Posts
    588

    How to use QDatastream to send/receive large files with QNetworkAccessManager

    Hi,

    I am new in qt and developing this app for symbian smartphones. I need to upload and download large files of sizes <= 15MB. Currently I am using QNetworkAccessManager's put method which takes QNetworkRequest and QByteArray as data to upload files to the server. I am able to send files but they fail to upload randomly because I am sending all the read data from the file in one go. I am not using any chunking.

    I want to know if somehow QDataStream could be used to achieve the same or not. Also I want to have listeners for different stages of file upload/download like paused/resumed/canceled etc. If it is possible please provide an example.

    Thanks a ton!

  2. #2
    Registered User
    Join Date
    Sep 2008
    Location
    Vancouver, Canada
    Posts
    588

    Re: How to use QDatastream to send/receive large files with QNetworkAccessManager

    Has nobody done something like this before??

  3. #3
    Registered User
    Join Date
    Apr 2012
    Location
    malaysia
    Posts
    260

    Re: How to use QDatastream to send/receive large files with QNetworkAccessManager

    Maybe you should make your question clearer.I'm not even sure what you asking and trying to achive.

  4. #4
    Registered User
    Join Date
    Sep 2008
    Location
    Vancouver, Canada
    Posts
    588

    Re: How to use QDatastream to send/receive large files with QNetworkAccessManager

    I need to upload/download different types of files to the network. I need to do it in a way that I could track the progress of the file upload/download.

    I hope that is simpler now? Can somebody help out now?

Similar Threads

  1. Replies: 2
    Last Post: 2010-03-23, 08:15
  2. Replies: 0
    Last Post: 2009-05-27, 06:28
  3. Send and Receive Files
    By pavanakcm in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2004-03-09, 15:28
  4. Can not send large files through Bluetooth
    By sami_masad in forum Bluetooth Technology
    Replies: 0
    Last Post: 2003-08-04, 13:51

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •