×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Regular Contributor
    Join Date
    May 2008
    Posts
    50

    Question Large data transfer

    Hi all,

    I'v done an application that transfer file from one mobile to another mobile through TCP Socket. But i can transfer only 7.99kb whenever i want to trasnfer a 8kb file it can't. can any one tell my that how can i split the large size of block into smaller block and then merge it.

    thnkx & Regds
    Sourav
    Thnkz & Regrds
    Sourav

  2. #2
    Regular Contributor
    Join Date
    Nov 2006
    Location
    Chengdu China
    Posts
    169

    Re: Large data transfer

    in sender side. use RFile
    IMPORT_C void Read(TInt aPos, TDes8 &aDes, TInt aLength, TRequestStatus &aStatus) const;
    in receiver side. use RSocket
    IMPORT_C void RecvOneOrMore(TDes8 &aDesc, TUint flags, TRequestStatus &aStatus, TSockXfrLength &aLen);

    hope that helps
    The dream is to become one machine, or let one machine become me

  3. #3
    Regular Contributor
    Join Date
    May 2008
    Posts
    50

    Re: Large data transfer

    hi lancemachine,

    Xcuse me i"m a J2ME programmer, can u tell me the algorithm in details
    Thnks
    Sourav
    Thnkz & Regrds
    Sourav

  4. #4
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: Large data transfer

    Hi Sourav,

    when you say that your app fails in transferring 8KB of data, you mean that you're getting an Exception? If yes, which one?

    Pit

  5. #5
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: Large data transfer

    Hello Sourav,

    ..transfer file from one mobile to another mobile through TCP Socket.
    Which devices are you using?

    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  6. #6
    Regular Contributor
    Join Date
    May 2008
    Posts
    50

    Re: Large data transfer

    hi r2j7,
    thkx 4 reply. currently i'm testing on sony W800. can u tell me how to split file into samll packet and transfer those.
    Thnaks and Regs
    Sourav
    Thnkz & Regrds
    Sourav

  7. #7
    Regular Contributor
    Join Date
    May 2008
    Posts
    50

    Re: Large data transfer

    hi jappit,
    thanks, i got ArrayIndexOutOfBoundsException. i'v send a 54 kb file and it transfer to other mobile only 7.99kb file.
    Thnkz & Regrds
    Sourav

  8. #8
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: Large data transfer

    Hi Sourav,

    to me, that seems to be a code-related Exception. Could you maybe post the Exception-related code to check for possible issues with it?

    Pit

Similar Threads

  1. GPRS amount of data transfer
    By papana in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2007-08-11, 03:42
  2. data transfer mode
    By davidmaxwaterman in forum Symbian
    Replies: 3
    Last Post: 2007-06-30, 13:49
  3. problem in transfer data with Bluetooth in real devices
    By tortoisevn in forum Bluetooth Technology
    Replies: 1
    Last Post: 2006-11-07, 11:35
  4. GPRS connection problems on 6600..
    By suckho in forum Symbian Networking & Messaging (Closed)
    Replies: 10
    Last Post: 2005-12-02, 14:00
  5. Data transfer from 7650 to 6230
    By gds2 in forum General Development Questions
    Replies: 0
    Last Post: 2005-01-19, 13:40

Posting Permissions

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