| << Fare clic per visualizzazione il sommario >> Percorso: API di piattaforma > Altri servizi > FTP > Delete | 
Service
Method
Delete
Description
Deletes the specified files and/or directories at the FTP server. Wildcards are allowed.
| Input | |||
| Name | Description | Type | Optional | 
| remotePath | The path (with or without wildcards) of the remote file or directory. | String | 
 | 
| traversalMode | Traversal mode. Specifies whether the whole hierarchy or files only are deleted. | Int | 
 | 
Remarks
Traversal mode: specifies how to traverse a hierarchy of directories.
•0 = Recursive
Do RECURSIVE transfer of matching directories.
If the pattern matches a file, the file is processed.
If the pattern matches a directory, all files and subdirectories are processed.
•1 = NonRecursive
Do NON-RECURSIVE transfer of matching directories.
If the pattern matches a file, the file is processed.
If the pattern matches a directory, only the directory itself is processed (an empty directory will be created).
•2 = FilesRecursive
This is the same as Recursive mode, but only files are processed.
Files are searched in the given directory and also in all its subdirectories.
•3 = FilesNonRecursive
This is the same as NonRecursive mode, but only files are processed.
Files are searched only in the first level of given directory.