This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes Getting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Getting "ConversionBufferFullException" while uploading file using URLConnection" Watch "Getting "ConversionBufferFullException" while uploading file using URLConnection" New topic
Author

Getting "ConversionBufferFullException" while uploading file using URLConnection

Thennam Pandian
Ranch Hand

Joined: Oct 11, 2005
Posts: 163

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.
 
GeeCON Prague 2014
 
subject: Getting "ConversionBufferFullException" while uploading file using URLConnection