F
Frank Natoli
I understand that HttpURLConnection can be connected and then the argument
URL (file) read using the stream returned from getInputStream().
But what if I want to establish the connection, the repeatedly request a
file, download the file, then request another file, etc.?
HTTP server (SunOne) appears to disregard output stream data:
GET /filename_to_download HTTP/1.1
and simply and always give me index.html at the server root.
How to interact with the HTTP server for a series of files?
Thanks.
URL (file) read using the stream returned from getInputStream().
But what if I want to establish the connection, the repeatedly request a
file, download the file, then request another file, etc.?
HTTP server (SunOne) appears to disregard output stream data:
GET /filename_to_download HTTP/1.1
and simply and always give me index.html at the server root.
How to interact with the HTTP server for a series of files?
Thanks.