×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Feb 2008
    Location
    Beijing
    Posts
    5

    S60 uploading file problem...

    I finished uploading big file function in multipart data chunk with MHTTPDataSupplier.

    My problem is following:

    Other connection operation cann't be continuted until MHTTPDataSupplier::GetNextDataPart return ETrue.

    But other connection operation can be executing when downloading file.

    Can any person help me?
    Best reguards!

  2. #2
    Registered User
    Join Date
    May 2006
    Posts
    30

    Re: S60 uploading file problem...

    can you please clarify what you mean by other connection operations?

  3. #3
    Registered User
    Join Date
    Feb 2008
    Location
    Beijing
    Posts
    5

    Re: S60 uploading file problem...

    It must occupy a connection when MHTTPDataSupplier::GetNextDataPart is executed.
    I want another operation which needs connect network can be executed together with it.
    But I found another connection operation has been waiting till GetNextDataPart() return ETrue.

    I'm sorry for my English is too bad.
    Do you understand me?
    I'm a beginner for ever.

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: S60 uploading file problem...

    Just make the GetNextDataPart work as fast as possible, there should be no need to wait in there really...

  5. #5
    Registered User
    Join Date
    Feb 2008
    Location
    Beijing
    Posts
    5

    Re: S60 uploading file problem...

    Quote Originally Posted by symbianyucca View Post
    Just make the GetNextDataPart work as fast as possible, there should be no need to wait in there really...
    It's possible for small file uploading.
    However, it needs long time for big file uploading.
    Do you have better solution for the issue?
    I wondered whether GetNextDataPart() is so stupid that block another connection operation when its executing.

    Best Regards!
    Last edited by fairhood; 2008-04-28 at 06:51.
    I'm a beginner for ever.

  6. #6
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: S60 uploading file problem...

    Hmmm, why do you insist on having loads of data passes with one call ?
    Just use the return boolen value to tell to caller that the data is not last part, and give it in smaller parts, then it should not hang the whole system propably.

  7. #7
    Registered User
    Join Date
    Feb 2008
    Location
    Beijing
    Posts
    5

    Re: S60 uploading file problem...

    Quote Originally Posted by symbianyucca View Post
    Hmmm, why do you insist on having loads of data passes with one call ?
    Just use the return boolen value to tell to caller that the data is not last part, and give it in smaller parts, then it should not hang the whole system propably.
    Oh! No!
    I just used small data chunk transfering with multi calling of GetNextDataPart.

    Another connection operation had been waiting until GetNextDataPart posted last part.

    Maybe my expression is not accurate in English.
    Can you understand me?
    I'm a beginner for ever.

Similar Threads

  1. Problem with FILETEXT in PKG file for S60 3rd Edition
    By horsten in forum Symbian Tools & SDKs
    Replies: 10
    Last Post: 2008-01-23, 11:01
  2. Error with makesis.exe and creating the .pkg file
    By gramya87 in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2007-10-10, 13:53
  3. S60 theme questions
    By Nokian_Spb in forum Symbian Media (Closed)
    Replies: 3
    Last Post: 2006-08-17, 06:11
  4. 9500 downloading jad file problem - urgent!!
    By knmehta in forum Mobile Java General
    Replies: 1
    Last Post: 2005-12-13, 09:33
  5. Common problem: wrong file format "exception"
    By lukaszpl in forum Mobile Java General
    Replies: 0
    Last Post: 2005-12-05, 17:09

Posting Permissions

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