That's correct. But that's a different use than yours. Why don't you just try it?
- martin
You cannot use this in source parameters of script commands and .NET assembly methods
#TransferOptions
$transferoptions = New-Object WinSCP.TransferOptions
$transferOptions.TransferMode = [WinSCP.TransferMode]::Binary
$transferOptions.AddRawSettings("ExcludeEmptyDirectories", "1")
$transferoptions.FileMask = "|*/Archive/*"