Forums Register Login

get file path from url ?

+Pie Number of slices to send: Send


after redirections in behind ... url.openConnection... opens the following file:



How to get that path from url ?

+Pie Number of slices to send: Send
the answer to this is casting urlConnection as HttpURLConnection

something like this:

A "dutch baby" is not a baby. But this tiny ad is baby sized:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1712 times.
Similar Threads
Communicate with the server without a browser.
save image file from remote URL
Download content from URL + POST parameters
Downloading a file
URLConnection time constraint
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 09:26:42.