🧡 Skip to main content🔍 Skip to search

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.
Examples:
  • /bucket/2024/b2b.xlsx
  • /home/user/invoices-folder/
  • /home/user/backup-folder
Last modified date Returns file's last modified date.
Examples:
  • 2024-01-14-22-30-01
  • 2023-12-27-08-47-33
Size Returns file size in bytes.
Examples:
  • 1073221
  • 0
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.
Examples:
  • -rw-rw-r--
  • drwxrwxr-x
  • -
  • d
Permissions octal Available only for SFTP connections. Returns file permissions in Unix octal format, e.g., 755, 600 where each digit refers to combination of permission bits.
Examples:
  • 664
  • 775
Owner Available only for SFTP connections. Returns owner and group numberic notation.
Examples:
  • 1000:1000
  • 1017:1000
Completion statusRetrieve Action execution status with a possible value—Successful or Failed. Or Empty, if Action has not been executed yet.
Adjust*Streamline creation of Task workflows even further—instantly make quick variable adjustments such as in-place replacement (all, first, or last occurrence), trimming (whitespaces, quotes, etc.), or changing capitalization. Optionally, set a different display name.

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.