Hi!
Im looking for a solution for how to get an xml file
from http and upload that file to webdav with username and password
security.
The scenario should look like this.
My webdavserver address with username and password = xml file from http site
I have managed to get the xml file correctly by using the
MSXML2.XMLHTTP.3.0 object:
Set oXMLHTTP = CreateObject("MSXML2.XMLHTTP.3.0")
and i have managed to save that xml file correctly to harddrive using the ADODB.Stream object:
Set oStream = CreateObject("ADODB.Stream")
But i don't want to save the file to harddrive first, i want to upload it directly to webdav.
I tried to use:
oXMLHTTP.Open "PUT", "my_webdav_server", false, "username", "password"
then the file was saved to webdav but it was empty.
So the question is:
Is it possible to upload the xml file to webdav directly from the
oXMLHTTP object or from the oStream object.
Please help me with some example code since i'm a google it, try it, sometimes it works programmer
Thanks in advanced.