urllib.urlretrieve("http://free.bsdshell.net/")

Hamish Lawson hamish_lawson at yahoo.co.uk
Thu Jan 25 04:19:02 EST 2001


> Try to run 'telnet yoursite',

Note that you'll have to include the port number as an argument:

    telnet free.bsdshell.net 80

> then blindly type 'GET /index.html'

You may have to include the HTTP version to get a proper response (you
can also just use / to get the default page without having to guess
whether it's actually called index.html):

    GET / HTTP/1.0

Hamish Lawson


Sent via Deja.com
http://www.deja.com/



More information about the Python-list mailing list