Deletes the specified file.
1 ftp.delete
<ftp.delete name='name'/>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Aname | String | Name of the file to delete. |
Returns | |
---|---|
Type | Description |
Boolean | Returns true if the file has been deleted successfully. |
Exceptions
java.io.FileNotFoundException
There is no file whose name matches the one specified in the name attribute.