The Remote File Information Action retrieves information on a file in a remote directory.

After the Remote File Information Action is completed, the information on its operations is temporarily stored in dynamic variables that can be retrieved by any other Action within the same Task via Variable Wizard.

For example, these variables can be saved as text by Write to File Action, emailed to admin by Send Email Action or used as dynamic parameters in other Actions.

VariableDetails
Last file Returns the full path and name of file whose information has been retrieved.
Last modified date Returns file's last modified date.
Size Returns file size in bytes.
Permissions Returns file permissions in symbolic notation, e.g., drwxr-xr-x where each letter refers to read, write or execute permissions. For directories the first letter always is d, and for files it is always - dash.
Permissions octal Available only for SFTP connections. Returns file permissions in Unix octal format, e.g., 0755, 0664 where each digit refers to combination of permission bits.
Owner Available only for SFTP connections. Returns owner and group numberic notation.
Completion statusRetrieve Action execution status with a possible value—Successful or Failed. Or None, if Action has not been executed yet.

Notes

  • Most FTP servers can return different (local or UTC) timestamps of file.
  • Regular FTP servers report 00 seconds for folders.
  • Folders on Amazon S3 servers does not return timestamp.
  • Google Cloud Storage and DigitalOcean Spaces transfer protocols do not support modification timestamps for directories.
  • The FTP, Amazon S3, Google Cloud Storage, DigitalOcean Spaces, and WebDAV server permissions usually contain only the first letter of symbolic notation. The SFTP servers usually have all blocks of permissions, e.g., -rw-r--r-- that translates to—an owner has a read/write access, while the group and world users have only read-only permissions.

Ask for more…

If you have any questions, please do not hesitate to contact our support team.