Overview

The DeleteFileHandler deletes files and directories from a destination. The table below shows the destinations currently supported by the handler along with the expected format of files / directories in the plan.

Destination

File Format

Directory Format

Windows Server

C:\Temp\MyFile.txt

C:\Temp\MyDirectory\

Network Attached Storage (NAS)

\\server\share$\MyDir\MyFile.txt

\\server\share$\MyDir\

Amazon S3 Buckets

s3://bucket/mydir/myfile001.txt

s3://bucket/mydir/

Note: Directories must ALWAYS end in a slash. This is mainly because in Windows, there's no way to tell, from the naming convention, if an object is a directory or a file with no file extension.

Plan Details

Config

The config section of the plan specifies how the delete action should be performed. It also contains configuration sections to connect to network/cloud based endpoints that require authentication and additional configuration.

Details on how to connect to Amazon Web Services to access S3 Buckets.

* = Required if any endpoint is an S3 bucket.

AwsConfig

This configuration section contains information on how to connect to Amazon Web Services to access the S3 endpoints. This is a required section if any endpoint is an S3 bucket. For optional elements, the values will be pulled from the environment variables of the server and/or the AWS credentails file on the server.