Delete file
Command Description
Delete files specified in the file transfer service
Command Prototype
bRet = CommanderFileService.DeleteFile(sRemotefile)
Command parameter
parameter | mandatory | type | default value | Instructions |
---|---|---|---|---|
sRemotefile | True | string | "" | The file path specified in the file transfer service |
Return result
BRet, Assign the result of running the command to this variable.
Run instance
/*********************************Delete File****************************************
Command Prototype:
bRet = CommanderFileService.DeleteFile(sRemotefile)
Input Parameters:
sRemotefile -- Remote file. Note: The specified file path in the file transfer service.
Output Parameter:
bRet -- The variable where the output of the function call will be saved.
Notes:
None
********************************************************************************/
Dim bRet = ""
bRet = CommanderFileService.DeleteFile("")
TracePrint(bRet)