Httplib issues

Diez B. Roggisch deets at nospam.web.de
Fri Jul 10 10:59:08 CEST 2009


jayesh bhardwaj schrieb:
> Hi,
> i was trying to download file frm a terminal having apache with
> httplib manipulation. It worked, now i want to upload file to the
> terminal. Can this b done by httplib too?

"Upload file to the terminal" makes no sense to me. You can upload 
something to a server. You can run a terminal. You can run a ssh-session 
to a server in a terminal. You can't upload to a terminal.

But you can use httplib (or better urllib2) to make http-post-requests 
to webservers.

And last but not least the ubiquious

http://catb.org/esr/faqs/smart-questions.html

Diez



More information about the Python-list mailing list