Excluding Remote Files from Lists and Transfers

Use the RemoteFilterExclude property to set and retrieve the values for excluding remote files or folders from transfers and listings. The string values may contain wildcards and you can add multiple filters by separating them with a semicolon.

Syntax

String Object.RemoteFilterExclude

Example

MySite.RemoteFilterExclude = "*.txt;*.swp"

MySite.Download "*.*" ' will download all files except those with extensions of *.txt and *.swp

 

If filter causes no file to be transferred then no folders will be created.