Skip to main content

FTP File Info

FTP File Info returns metadata about a remote file through an FTP Connection resource, without reading its contents.

Use it to check whether a file exists before reading it, or to test its size or modified time. The exists output is false rather than an error when the file is not there.

Unlike the other FTP activities it has no Advanced tab, so no retry settings.

The activity has three tabs: Configuration, Input, and Output.

Configuration

FieldRequiredDescription
NameRequiredName of the step, unique within this workflow.
DescriptionOptionalDescribe the purpose of this step.
FTP ConnectionOptionalResource to connect to the FTP or FTPS server.
FTP Auth ContextOptionalAuthorization context used for the FTP connection.
DirectoryOptionalRemote directory the file is in.
File PathOptionalPath within the working directory.
File NameOptionalName of the file to inspect.

Input

FieldRequiredDescription
InputsOptionalRuntime overrides of the path fields.

Output

The activity returns a FileInfoOutput object.

FieldData TypeDescription
existsBooleanWhether the file exists.
isDirectoryBooleanWhether the path is a directory rather than a file.
fileSizeIntegerSize of the file.
fileNameStringName of the file.
filePathStringPath of the file.
createdAtStringWhen the file was created.
modifiedAtStringWhen the file was last modified.