I am working on a Linux machine coding in Java... I am using HttpUrlConnection GetInputStream() to download files from a site
The problem is that it will only download files with certain extensions, such as .txt, mpeg, sql and so on.
But I need to download many media files such as .flv, .avi
I realise that .flv and .avi is not recognised on my Linux machine, because when I type in Http://www.somesite.com/somefile.avi
in the browser, it comes back with page not found.
how can i get around this problem?