[
https://issues.apache.org/jira/browse/CONNECTORS-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13771339#comment-13771339
]
Karl Wright commented on CONNECTORS-778:
----------------------------------------
Someone online recommends using a ListsWS call to do this:
{code}
public static void GetAttachements()
{
listservice.Lists listProxy = new listservice.Lists();
listProxy.Url =
"http://basesmcdev2/sites/tester1/_vti_bin/lists.asmx";
listProxy.UseDefaultCredentials = true;
XmlNode retNode =
listProxy.GetAttachmentCollection("myattachments2", "4");
using (WebClient wc = new WebClient())
{
wc.UseDefaultCredentials = true;
byte[] response = wc.DownloadData(retNode.InnerText);
}
}
{code}
I'll have to play around with this to see what it actually returns; I don't
want it to download the attachment contents, but just discover the URLs.
> SharePoint connector: Add ability to index binary attachments of list items
> ---------------------------------------------------------------------------
>
> Key: CONNECTORS-778
> URL: https://issues.apache.org/jira/browse/CONNECTORS-778
> Project: ManifoldCF
> Issue Type: New Feature
> Components: SharePoint connector
> Affects Versions: ManifoldCF 1.4
> Reporter: Karl Wright
> Assignee: Karl Wright
> Fix For: ManifoldCF 1.4
>
>
> Add ability to index binary attachments of list items.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira