This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting "ConversionBufferFullException" while uploading file using URLConnection

Thennam Pandian
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

We are using URLConnection to upload the file.
We are writing the file contents to the output stream of the URL connection.

The code is working fine, some times we are getting "ConversionBufferFullException" exception.
The Java doc says "The output buffer for a character conversion is full, but additional input remains to be converted "

Whether it will upload all the file contents or not?

I can't verify this as the file size is huge.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic