Change Directory Activity
The Change Directory activity enables users to modify the current working directory within an established connection. This activity is crucial for navigating file systems and ensuring subsequent file operations target the correct location.
| Field | Description | Requirement |
|---|---|---|
| Connection name | Reference name of connection which will be connected. | Optional |
| Directory name | Destination path without a file or folder name. | Required |
Action Types & Examples
Set Current Directory
- Format:
string - Example Result:
/home/Temp/Test
Implementation Examples
Field Setup - Connection name: ${ftpConnection} - Directory name: /home/Temp/Test
Execution Parameters - Connection name: MyFTPServer - Directory name: /home/Temp/Test
Technical Notes
Ensure the specified
Directory nameexists and the configured connection has appropriate permissions to access it. Path formats (e.g., absolute vs. relative) depend on the underlying connection type (e.g., FTP, local file system). Relative paths are resolved against the current working directory of the connection. The activity will fail if the directory does not exist or permissions are insufficient.