Limit on the size of HTTP fetches on 6310i
I've got an application that wants to download data a little
bit at a time, but has lots to get. I'm reading data in
chunks of ~400 bytes from a file thats ~240000 bytes. I'm using
the standard methods (I think):
streamer = (HTTPConnection)Connection.open("http://srv/f");
dis = streamer.openDataInputStream();
for (int n=0; n<400; ++n)
(kind of thing)
This doesn't seem to work if the file I am accessing on the
server is larger than ~8000 bytes (8192-http headers?).
Is this a known limitation of the java implementation on the
6310i type phones? Is there any workaround?