×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    2

    QNetworkAccessManager upload large file

    Hi I am currently working on a sample application
    which uses QNetworkAccessManager to send the HTTP command.
    In the sample we are uploading files to server.
    Here I want to upload the file in chunk by chunk(not whole file).

    Is there any way to send large file in chunk by chunk.

    thanks in advance.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: QNetworkAccessManager upload large file

    Quote Originally Posted by Umesha View Post
    Hi I am currently working on a sample application
    which uses QNetworkAccessManager to send the HTTP command.
    In the sample we are uploading files to server.
    Here I want to upload the file in chunk by chunk(not whole file).

    Is there any way to send large file in chunk by chunk.

    thanks in advance.
    hello umesha

    i dont think there is any direct way for this thing in Qt, what you can do is get the size of file read that for a sample size and then send it. You can do this upto end of file to get the whole data.

    This is just a hint if you have some other idea do let the forum know.

    Regards,

  3. #3
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: QNetworkAccessManager upload large file

    HTTP 1.1 actually supports chunked transfer:
    http://en.wikipedia.org/wiki/Chunked_transfer_encoding

Similar Threads

  1. Problems with MBM and MBG file
    By rsiudak in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 5
    Last Post: 2010-02-19, 02:23
  2. UPload large size file using HTTP
    By arun09 in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2010-01-13, 15:40
  3. upload large file to webserver from 2MB heap phone
    By chiovari in forum Mobile Java General
    Replies: 1
    Last Post: 2008-11-14, 11:56
  4. Contacts fields order??
    By timatima in forum Symbian
    Replies: 1
    Last Post: 2007-06-08, 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
  •  
×