Get File Size#
Determine the size of a file located on an FTP/SFTP server.
| URL | [Text] The full path to the FTP file. It should start with a protocol, for example: For SFTP, specify the protocol as "sftp". |
| Username | [Text] The username for authentication on the FTP server. |
| Password | [Text/SecureString] The password for authentication on the FTP server. |
| Private Key File | [Text] The private key file for SFTP authentication. If necessary, specify the password in the "Password" property. |
| Units of Measurement | Select the type of return value. Possible options: in bytes, kilobytes, gigabytes, terabytes. |
| Result | [Number] The size of the file in the selected type. |
| Error Handling Level | Select the error handling level. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Message Level | Select the message level that blocks will output during operation. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Error Text | [Text] Returns detailed information about the error in case of incorrect execution of the block's work. |