Delete files Version 7 (Net)

Action group: FTP


Description

Action deletes files on FTP servers

Action icon

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
ContextUnique identifier of the FTP session in the context of which the action will be appliedRobin.FTPFTP contextYes
Files on FTP-ServerFiles to be deleted. To delete more than one file use wild-cards * or ? in filenamesRobin.String
Yes
Include subdirectoriesIf the value is true, then the search is performed within the current directory and in all its subdirectories. If the value is false, then the search is performed within the current directory. Default is falseRobin.BooleantrueNo
DepthMaximum depth of search in subdirectories. Default is 5. Use -1 to indicate boundless depth. Note: Available only with parameter Include subdirectories set to trueRobin.Numeric
No
ExcludeFiles to be excluded during delete operation. Default is "". To delete more than one file use wild-cards * or ? in filenames.Robin.String
No

Special conditions of use

None.

Example of use

Task

Connect to the FTP server, delete the file from the server. 

Solution

Use the actions "Connect", "Delete files", "Disconnect". 

Implementation

  1. Assemble a robot scheme consisting of actions:
  2. Set the parameters for the "Connect" action. 
    image2024-1-23_16-12-15.png
  3. Set the parameters for the "Delete files" action. 
  4. Set the parameters for the "Disable" action. 
    image2024-1-23_16-14-30.png
  5. Click on the "Start" button in the top panel. 

Result

The program robot completed successfully. The file has been deleted from the server. 

  • Нет меток