Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Get Files In Directory Activity

Prev Top Next More

Description

Returns a collection of all files for a given directory on the server.

Usage

A workflow could use the Get Files In Directory activity to loop through all the text (*.txt) files in a directory and use the Read File activity to read the text content of each of them.

Inputs

Path

Required

Type: String

The path of the directory to get file paths from.

Search Pattern

Optional

Type: String

The search pattern to use when getting file paths.

If no search pattern is provided, all file paths are returned.

Outputs

files

Type: String[]

The array of all (matching) file paths.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Connectivity Requirements

This activity does not work when the device has intermittent connectivity to the network.

See also...

The Directory.GetFiles(String) method.

The Directory.GetFiles(String, String) method.

© 2024 VertiGIS North America Ltd. All Rights Reserved. | Privacy Center | Imprint
Documentation Version 5.42 (220a4365)