aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting "ConversionBufferFullException" while uploading file using URLConnection