Moo_FileInfo ( sFile; sInfo; sOptions );
This functions lets you delete a file.Parameters
| Name | Type | Required | Default | Description |
| sFile | String | Yes | The input file. | |
| sInfo | String | Yes | The information to retrieve. | |
| sOptions | String | No | Options for the selected information. |
Return Value
Returns either the requested file information, or an error code.
Notes
Currentley only supports the following sInfo and sOptions values:
| sInfo | sInfo Desc | sOptions | sOptions Desc |
| size | Get a files size | human bytes | in human readable form, eg 10kb in bytes eg 10240 |
| version | Get a files version |
Errors
| Error Code | Description |
| Moo_FileInfo|Err_1 | Invalid number of arguments. |
| Moo_FileInfo|Err_2 | Invalid source file input. |
| Moo_FileInfo|Err_3 | Source file doesn't exist. |
| Moo_FileInfo|Err_4 | Unknown sInfo parameter. |
| Moo_FileInfo|Err_5 | Unknown sOptions parameter. |
Related Functions
