Results 1 to 4 of 4
  1. #1
    itsvenkat is offline Member
    Join Date
    Dec 2010
    Posts
    3
    Rep Power
    0

    Default How to send a large string from client to server?

    Hi All,

    I am trying to upload images to the server in the form of encoded Strings which could be as large as the size of the image.
    I am getting java.net.SocketException:because of the large size of String.

    Can someone let me know if theres an alternate way to send such large strings.

    Thanks,
    Venkat

  2. #2
    FON
    FON is offline Senior Member
    Join Date
    Dec 2009
    Location
    Belgrade, Serbia
    Posts
    368
    Rep Power
    5

    Default

    I am trying to upload images to the server in the form of encoded Strings
    any special reason for this?

  3. #3
    itsvenkat is offline Member
    Join Date
    Dec 2010
    Posts
    3
    Rep Power
    0

    Default

    I receive the image info only as a String and not as a File object.

  4. #4
    itsvenkat is offline Member
    Join Date
    Dec 2010
    Posts
    3
    Rep Power
    0

    Default

    I receive the image info only as a String and not as a File object.

Similar Threads

  1. send bytes from client to server
    By 0xHexaDecimal in forum Networking
    Replies: 41
    Last Post: 06-04-2010, 03:17 PM
  2. Replies: 2
    Last Post: 03-16-2010, 08:01 AM
  3. Replies: 6
    Last Post: 01-19-2009, 09:28 PM
  4. send/read int in a client/server app
    By dim_ath in forum New To Java
    Replies: 2
    Last Post: 01-03-2008, 02:03 PM
  5. how to send .jar files client to server
    By gobinathm in forum Networking
    Replies: 1
    Last Post: 12-25-2007, 05:05 AM

Posting Permissions

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