The problem with accentuated list title is that you can't get RootFolder from list name so current version of RemoveFiles method will not work.
So, I made an updated version of RemoveFiles method from https://sqlsrvintegrationsrv.codeplex.com/workitem/18247
I updated RemoveFiles method (see below) to calculate the correct targetUri using the list RootFolder
Passing list GUID as parameter is much better than list title because you don't have to bother with accentuated cars.
I wrote a helper method GetSharePointListInfo in ListsAdapter.vb that retrieve list infos from a list (GUID, Title and RootFolder).
```
''' </summary>
''' <param name="listName">Title or GUID of list to get infos on</param>
''' <param name="viewId">GUID for the view. If no value is specified, uses the default view schema</param>
''' <returns> Dictionnary containing GUID, Title and RootFolder
''' </returns>
''' <remarks></remarks>
Public Function GetSharePointListInfo(ByVal listName As String, ByVal viewId As String) As Dictionary(Of String, String)
Dim infos As New Dictionary(Of String, String)
Try
' http://msdn.microsoft.com/en-us/library/lists.lists.getlistandview.aspx
'listData is <ListAndView xmlns="http://schemas.microsoft.com/sharepoint/soap/">
'<List DocTemplateUrl="" RootFolder="/Site_Name/Lists/List_Name" </List></ListAndView>
Dim listData = GetSharePointList(listName, viewId)
' Add list main infos in the dictionnary
' DONT FORGET the namespace to retreive attributes
infos.Add("ID", listData.<t:List>.@ID) ' GUID
infos.Add("Title", listData.<t:List>.@Title) ' Title
infos.Add("RootFolder", listData.<t:List>.@RootFolder) '
Return infos
Catch ex As System.ServiceModel.FaultException
Throw New SharePointUnhandledException("Unhandled SharePoint Exception", ex)
End Try
End Function
```
So, I made an updated version of RemoveFiles method from https://sqlsrvintegrationsrv.codeplex.com/workitem/18247
I updated RemoveFiles method (see below) to calculate the correct targetUri using the list RootFolder
Passing list GUID as parameter is much better than list title because you don't have to bother with accentuated cars.
I wrote a helper method GetSharePointListInfo in ListsAdapter.vb that retrieve list infos from a list (GUID, Title and RootFolder).
```
''' </summary>
''' <param name="listName">Title or GUID of list to get infos on</param>
''' <param name="viewId">GUID for the view. If no value is specified, uses the default view schema</param>
''' <returns> Dictionnary containing GUID, Title and RootFolder
''' </returns>
''' <remarks></remarks>
Public Function GetSharePointListInfo(ByVal listName As String, ByVal viewId As String) As Dictionary(Of String, String)
Dim infos As New Dictionary(Of String, String)
Try
' http://msdn.microsoft.com/en-us/library/lists.lists.getlistandview.aspx
'listData is <ListAndView xmlns="http://schemas.microsoft.com/sharepoint/soap/">
'<List DocTemplateUrl="" RootFolder="/Site_Name/Lists/List_Name" </List></ListAndView>
Dim listData = GetSharePointList(listName, viewId)
' Add list main infos in the dictionnary
' DONT FORGET the namespace to retreive attributes
infos.Add("ID", listData.<t:List>.@ID) ' GUID
infos.Add("Title", listData.<t:List>.@Title) ' Title
infos.Add("RootFolder", listData.<t:List>.@RootFolder) '
Return infos
Catch ex As System.ServiceModel.FaultException
Throw New SharePointUnhandledException("Unhandled SharePoint Exception", ex)
End Try
End Function
```