I wish that the Title of the thread explains itself a lot.
I would like to Save an image from an HTTP URL which actually redirects to another URL.
Actually, I am trying to Save the Profile picture of Facebook.
Now when you will open the link, it will redirect to another URL/jpeg image, which I would like to save.
I've tested my Code with normal image url (.jpg) and it works fine for that. But for redirecting URL, it saves a file example.jpg with size 0 bytes.
Help please !