I have a related question. Is it possible to "combine" item collections so that the item collection is made up from two different GetItems() calls, like the example below. The item list ends up being just the last call, and I understand why. Looking for away around it. Thanks.
Steve
SftpItemCollection list = client.GetItems(
new Rebex.IO.FileSet("/Volumes/DAM_RAID_1/Internal_Repository/", "*",
Rebex.IO.TraversalMode.Recursive));
list = client.GetItems(
new Rebex.IO.FileSet("/Volumes/DAM_RAID_4/repository2/", "*",
Rebex.IO.TraversalMode.Recursive));
Something like this seems to work...
SftpItemCollection list0 = client.GetItems(new Rebex.IO.FileSet("/Volumes/DAM_RAID_1/Internal_Repository/", "*", Rebex.IO.TraversalMode.Recursive));
SftpItemCollection list1 = client.GetItems(new Rebex.IO.FileSet("/Volumes/DAM_RAID_4/repository2/", "*", Rebex.IO.TraversalMode.Recursive));
foreach (SftpItem item in list1) { list0.Add(item); };
But I am not sure it is the best way (obviously no error handling).