| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Uploading file to auth http server, when login url is different to upload url??
From: Theodore H. Smith <delete_at_elfdata.com>
Date: Wed, 1 Nov 2006 17:32:21 +0000
Hi people,
I'm trying to do something that is actually quite simple on the PC,
I want to log into into a certain url with http auth by supplying a
It's done on the PC using this library called W3Client which was
W3Client w3;
w3.Connect("http://gdst2.simslearning.co.uk/learnwise", username,
w3.AddPostArgument("course", strFile, TRUE);
w3.Request("/coursebuilder/importCourse/org/dep",
See, easy!
w3.Request will connect to the URL "http://gdst2.simslearning.co.uk/
So basically, it appends the thing to the URL it connected to.
The uploading is done via the Post argument thingy.
So, I can do this with 4 lines of code on the PC using W3Client.
I tried with curl (as a shell tool not library), which eventually I
It just won't work.
Can Macs even do this?
Must I resort to writing my own socket wrapper and do all the http
-- http://elfdata.com/plugin/Received on 2006-11-01 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info