Archive: how to get source code of a website?


how to get source code of a website?
the adress of the website ends with '/' (without any *.html or so).

Is it possible to download the source code? I´ve tried with inetc different things but didn´t suceed...


There should at least be some index.* file on there.

Stu


Just having a URL that ends with / does not work?

Originally posted by Afrow UK
There should at least be some index.* file on there.
The site could be totally dynamic with no actual named pages

yes seems to be like that. I went some levels above (in the site´s directory structure) and all href links there are totally different from the ones used/shown in the browser later. So i think they´re dynamically made.

That´s by the way the reason why I would need to read the source code ( see this topic )
;)

so no chance to read (like a browser can) the actual code?

(because the link written there would work for downloading the file needed...)

edit: what´s this url submitted by user instead of a regular clickable link ?:igor:

edit2: this is the link:
http://www.foobar2000.org/components/view/foo_playcount
and I tried it as it is, and with .htm , .html or /index.html /index.htm nothing works (file open error)...