Re: [Tutor] upload xml file via pycurl

2011-05-16 Thread Alan Gauld
"Rayon" wrote I am trying to upload a xml file via pycurl, I really need some help here. So give us a clue. What is wrong with your code? And what does the real code look like, the fragment you have posted doesn't tell us too much - what is c? what have you imported, and how did you do it?

Re: [Tutor] upload xml file via pycurl

2011-05-16 Thread Brett Ritter
On Mon, May 16, 2011 at 2:00 PM, Rayon wrote: > I am trying to upload a xml file via pycurl, I really need some help here. What is the error your are receiving? Did you fix the fact that you had starting whitespace as I mentioned to your last email? -- Brett Ritter / SwiftOne swift...@swiftone

[Tutor] upload xml file via pycurl

2011-05-16 Thread Rayon
I am trying to upload a xml file via pycurl, I really need some help here. url = "https://192.168.0.68/fileupload/upload_file.php"; binaryptr = open('activation.xml','rb').read() head = ['Content-type:text/xml'] c.setopt(c.SSL_VERIFYPEER, 0) c.setopt(c.SSL_VERIFYHOST, 0) c.setopt(c.POS