File Operations

Check if file exists

Checks if a remote file exists.

Parameter

Description

Remote path

Path to check.

Output: Simple value,True if file exists. False otherwise.

Since: 6.3

Delete file

Delete a remote file.

Parameter

Description

Remote path

Path to file to delete.

Output: No output.

Since: 6.3

Delete files

Delete multiple remote files based on mask.

Parameter

Description

Remote path

Path where to delete files.

Mask

Mask used to filter which files to download. Example *.txt. Regular expressions can also be used by prefixing with regex:, example regex:[A|B].* to list all files starting with A or B.

Case sensitive

Specifies if mask is case sensitive (not applicable if regex is used).

Recursive

Specifies whether to delete files recursivly.

Output: No output.

Since: 6.3

Get size of file

Gets the size, in bytes, of remote file.

Parameter

Description

Remote path

File of interest.

Output: Simple value, numeric.

Since: 6.3

Rename file

Renames a remote file.

Parameter

Description

Old path

Current name of file.

New path

New name of file.

Output: No output.

Since: 6.3

Get file time

Get a remote file time.

Parameter

Description

Path

File of interest.

Output: Simple value, Date.

Since: 6.3

Set file time

Changes a remote file time.

Parameter

Description

Path

File of interest.

New time

New time for the file.

Output: No output.

Since: 6.3

Get list of files

Get list of files in a directory.

Parameter

Description

Remote path

Path to list.

Output: A table consisting of records with the following structure:

Member

Description

Name

The name of the file.

Size

The size, in bytes, of the item.

Since: 6.3

Last updated