Question: Is there an http request to list all the files associated with a webpage? I'm writing a program that downloads a webpage off of a web server, and I want to get a list of all the images, etc that are associated with this page so that I can download them, too. I got the html by sending this to the web server:\n\nGET / HTTP/1.1&#92;r&#92;n\nHost: example.com&#92;r&#92;n\n\nIs there a similar way to get a list of all the files associated with a webpage so that images, etc will show up when it is downloaded?\n\nThanks

Answer: You can do this in Firefox by right-clicking and choosing Page Info, then the Media tab.\n\nIf you mean, you want to do it programmatically, just look for all the img, iframe, embed, import and similar tags in the page.\n\nAlternatively, get an offline browsing program such as GetRight or Teleport Pro. Trials of both are available at http://www.download.com
This question from the Yahoo Q&A forum is categorized in the topic: Business & Finance