I need to connect to LiveLink and download some ISO PDF files.
The way I connect is:
string url = "http://pod.iso.org/isostd/livelink?func=ll.login&Username=user&password=pasword";
string urlDoc = "http://pod.iso.org/isostd/livelink?func=doc.fetch&nodeid=705699&doctitle=ISO_11095";
string responseString = string.Empty;
WebRequest wReq = WebRequest.Create(url);
HttpWebRequest httpReq = (HttpWebRequest)wReq;
httpReq.Method = "POST";
httpReq.AllowAutoRedirect = false;
HttpWebResponse response = (HttpWebResponse)httpReq.GetResponse();
string resp = response.StatusCode.ToString();
The variable resp gives me "OK", so I'm logged intoto the site but I don't know how to continue. The variable urlDoc is the url that of the document to download but I'm not able to continue.
Thnks in advance and excuse my poor english.
Code that works for me:
let me know if you need more help, in general, I can share code to download files or parse the content of the Livelink to download all documents referenced on the page