J2ME - HTTPConnection (get total download bytes?)

Started by
9 comments, last by shmoove 18 years, 3 months ago
The link to the directory would be part of the http request you build manually. You open a connection to "socket://something:80", and in the http request you ask for the subdirectory you want (notice that right after "POST" I ask for "vw/login.jsp"):
POST vw/login.jsp HTTP/1.1Host: somethingUser-Agent: MIDP 1.0/CLDC 1.0Content-Length: 27Content-Type: application/x-www-form-urlencodeduserid=joe&password=guessme


shmoove

This topic is closed to new replies.

Advertisement