"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?
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
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