To get HTTP links with direct link to file (with NAME and EXTENSION)
like http://website.com/file.avi
could be done with
URL FileLocation = new URL("string");
String Name = FileLocation.getFile();
which would return NAME with EXTENSION (/filename.ext)
but How to get Filename for URLs with php ID like
http:///website.com/download.php?d=9594
I want to do this in JAVA only.