|
From: Uwe K. <uwe...@gm...> - 2014-07-28 19:50:02
|
Successfully using the SOAP API from C#, I can successfully read an issue
and also get the "download_url" field.
When trying to download the attachment by something like this:
-----------------
using (var request = new WebClient())
{
request.Credentials = new NetworkCredential(_settings.UserName,
_settings.Password);
return request.DownloadData(mantisAtt.download_url);
}
-----------------
it "downloads" a HTML page with the login screen instead of the binary
attachment content.
--
So my question is:
How can I programmatically download an attachment for an issue?
|