There is no way to escape wildcards at the moment.
However, your example can be implemented simply by using FileSet
class with basePath
set to "/?"
(basePath
does not evaluate any wildcards). It can be done like this:
var fset = new FileSet("/?", "*", TraversalMode.Recursive);
ftp.GetItems(fset);