Re: [BangPypers] Accessing file using httpsconnection

2010-10-12 Thread Kenneth Gonsalves
On Tue, 2010-10-12 at 17:46 +0530, Senthil Kumaran wrote: > On Tue, Oct 12, 2010 at 4:38 PM, Kenneth Gonsalves > wrote: > > > > > Segmentation fault is funny!, It would help if you paste the full > > > error > > > message or traceback > > > > will you get a traceback on segfault? > > You wont. So

Re: [BangPypers] Accessing file using httpsconnection

2010-10-12 Thread Senthil Kumaran
On Tue, Oct 12, 2010 at 4:38 PM, Kenneth Gonsalves wrote: > > > Segmentation fault is funny!, It would help if you paste the full > > error > > message or traceback > > will you get a traceback on segfault? You wont. Sorry. Segfault while using httplib/sockets is *extremely* rare, I am not sure i

Re: [BangPypers] Accessing file using httpsconnection

2010-10-12 Thread Kenneth Gonsalves
On Tue, 2010-10-12 at 16:26 +0530, Senthil Kumaran wrote: > > On sending request for getting files, python throws "segmentation > fault". I > > Segmentation fault is funny!, It would help if you paste the full > error > message or traceback will you get a traceback on segfault? -- regards Kenne

Re: [BangPypers] Accessing file using httpsconnection

2010-10-12 Thread Senthil Kumaran
On Tue, Oct 12, 2010 at 07:44:40PM +0900, murugadoss wrote: > Sample Code: > >>> import httplib > >>> conn = httplib.HTTPSConnection("internet server") > >>> conn.request("GET","/'*.zip") > I guessing you are using a correct "internet server" correctly. >>> conn = httplib.HTT

[BangPypers] Accessing file using httpsconnection

2010-10-12 Thread murugadoss
Hello All, Hope everyone is doing good !! I am writing a test program using https module, Aim of the program is to connect to internet, download few files from the server. Give below is the sample code Sample Code: >>> import httplib >>> conn = httplib.HTTPSConnection("internet se