Syntax:

CLEAREXCLUSION()

Return Value:

This command always returns “OK”.

Remarks:

As this command does not accept any parameters the parenthesis are optional.

See Also:

ADDEXCLUSION

Example:

OPENHOST("ftp.myserver.com","myuser","123456")
# Download all files and directories in /d/server
# apart from all files (not directories) in /d/server/temp
ADDEXCLUSION(DOWNLOAD,"*.*","/d/server/temp")
GETFILE("/d/server/*.*",SUBDIRS)
CLOSEHOST()
 
# Clear the exclusion list
CLEAREXCLUSION
 
# Download all files and directories in /e/server
# apart from .tmp files
ADDEXCLUSION(DOWNLOAD,"*.tmp")
GETFILE("/e/server/*.*",SUBDIRS)
CLOSEHOST()