C
crazytazo
Does Content-Length can't exceed 2,147,483,648?
This is my applet's codes.
HttpURLConnection connection = null;
connection = (HttpURLConnection) netUrl.openConnection();
connection.setRequestMethod("POST");
connection.setRequestProperty("Content-Type", "multipart/form-data;
boundary=" + sBoundary);
connection.setUseCaches(false);
connection.setDoInput(true);
connection.setDoOutput(true);
connection.setAllowUserInteraction(false);
connection.setFixedLengthStreamingMode((int) jContentLength); //
<--- !!!
setFixedLengthStreamingMode method accept Integer only.
But I wish send large file more than Integer.
How to solve it?
-----------------------------------------------------------------
I'm sorry that i cannot give you a full detail of questions because of
my poor english.
I'm so appreciate your good answers in news group.
http://crazytazo.com
This is my applet's codes.
HttpURLConnection connection = null;
connection = (HttpURLConnection) netUrl.openConnection();
connection.setRequestMethod("POST");
connection.setRequestProperty("Content-Type", "multipart/form-data;
boundary=" + sBoundary);
connection.setUseCaches(false);
connection.setDoInput(true);
connection.setDoOutput(true);
connection.setAllowUserInteraction(false);
connection.setFixedLengthStreamingMode((int) jContentLength); //
<--- !!!
setFixedLengthStreamingMode method accept Integer only.
But I wish send large file more than Integer.
How to solve it?
-----------------------------------------------------------------
I'm sorry that i cannot give you a full detail of questions because of
my poor english.
I'm so appreciate your good answers in news group.
http://crazytazo.com