Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python

Httplib issues

 

 

Python python RSS feed   Index | Next | Previous | View Threaded


bhardwajjayesh at gmail

Jul 10, 2009, 12:54 AM

Post #1 of 2 (184 views)
Permalink
Httplib issues

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?
--
http://mail.python.org/mailman/listinfo/python-list


deets at nospam

Jul 10, 2009, 1:59 AM

Post #2 of 2 (164 views)
Permalink
Re: Httplib issues [In reply to]

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
--
http://mail.python.org/mailman/listinfo/python-list

Python python RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.