File Information

Returns metadata of a file from Local, UNC, FTP/S and SFTP source.

This Node has been replaced by File Info, FTP Info, SFTP Info and should not be used for new Workflows. These Nodes are only available in the 2023 Refresh.

Revision History

1.0.0.3 Initial Release
1.0.0.4 - Fix to correctly surface inner exception in FTP Error cases.

Added override for FTP encryption mode in connection properties.

Properties

Connection

Type: Connection Input
Provides a Connection and a DropPoint to service the request.

Username
Type: String
The username used to authenticate access to the FTP or SFTP server

Password
Type: Password
The password used to authenticate access to FTP or SFTP server

ClientPrivateKeyFileContents
Type: Multiline Text
The SSH Certificate contents used to authenticate to SFTP.

TrustedServerCertificateThumbprint
Type: String
The SHA-1 Fingerprint of the certificate of the FTPS server to connect to. Submitted as numbers and all uppercase letters, no colons. Note that leaving this field empty will trust any certificate presented by the server.

UsePassiveFTP
Type: Boolean
Some servers are configured to expect the PASV command when a connection is initialized. The Node then sends the PASV command instead of the PORT command when initiating a connection to the Server.

Path

Type: String Input
The path to the file. This may be a UNC path, a relative or absolute local path (when executed at a DropPoint) or an FTP file path. For FTP, prefix Path with ftp:// or sftp://.

Content

Type: Multiline Text Output
The Content Property
JSON output containing metadata in the format:

{
	"ObjectType": "Directory",
	"ObjectPermission": "NotApplicable",
	"SizeInBytes": 975232446,
	"CreationTime": "YYYY-MM-DDTHH:MM:SSZ",
	"LastAccessTime": "YYYY-MM-DDTHH:MM:SSZ",
	"LastWriteTime": "YYYY-MM-DDTHH:MM:SSZ"
}

Remarks

The File Information Node is not executable in Run From Cloud configuration and should instead be run from a DropPoint. Should the from cloud configuration be required, this can be arranged by submitting a support ticket.

Examples

See Also

File
File Enumerator
File Watcher
FileManage
Flat File