mooman_fl
Well-known member
I am looking for the best method of downloading files where the name of the file isnt given in the link. This primarily happens with pages that use PHP or Perl scripting to handle links from a database.
The program I am working on is a type of download manager that lets you drag and drop links from a page and will then download the file in question. I can get the link, but there is no filename on it. I know it can be done because other download managers work with it, I am just not sure of the method since every example I find deals with knowing the name of the file beforehand.
An example of the link data I am talking about is:
http://files.modthesims2.com/getfile.php?file=522374
Any help with this would be appreciated.
The program I am working on is a type of download manager that lets you drag and drop links from a page and will then download the file in question. I can get the link, but there is no filename on it. I know it can be done because other download managers work with it, I am just not sure of the method since every example I find deals with knowing the name of the file beforehand.
An example of the link data I am talking about is:
http://files.modthesims2.com/getfile.php?file=522374
Any help with this would be appreciated.