|
SmartFTP FTP Library
|
Encapsulates the software identification data exchanged during the SFTP version negotiation. More...
import "sfFTPLib.idl";
Properties | |
| BSTR | VendorName [get, set] |
| The name of the software vendor. | |
| BSTR | ProductName [get, set] |
| The specific name of the software product. | |
| BSTR | ProductVersion [get, set] |
| The display string for the software version. | |
| ULONGLONG | ProductBuild [get, set] |
| The monotonic build number of the software. | |
Encapsulates the software identification data exchanged during the SFTP version negotiation.
The Purpose: This interface represents the "Vendor ID" structure. It allows the client to announce its identity to the server (and vice versa). This is critical for feature negotiation and bug workarounds. For example, if a server identifies itself as a specific legacy version known to have a bug, the client can automatically adjust its behavior to compensate.
The Mechanism: These fields are typically serialized into the vendor-id extension structure sent inside the SSH_FXP_VERSION packet (or requested via SSH_FXP_EXTENDED).
|
getsetproperty |
The monotonic build number of the software.
Purpose: Provides a numeric value (64-bit integer) for identifying the exact build. Unlike the string fields, this allows for reliable mathematical comparison (e.g., determining if the remote version is newer than a specific patch level).
Default: 0 if undefined by the server.
| [in] | newValue | The numeric build identifier. |
| [out] | retval | Receives the current build number. |
|
getsetproperty |
The specific name of the software product.
Format: An arbitrary string identifying the specific application implementation.
Examples:
| [in] | newValue | The product name string. |
| [out] | retval | Receives the current product name. |
|
getsetproperty |
The display string for the software version.
Format: An arbitrary string representing the release version. It is intended for display purposes and may contain alphanumeric characters.
Example:
| [in] | newValue | The version string. |
| [out] | retval | Receives the current version string. |
|
getsetproperty |
The name of the software vendor.
Format: As per the SFTP draft specification, this is an arbitrary string identifying the maker of the product. There is no strict format requirement, though it is often a company name or open-source organization name.
Examples:
| [in] | newValue | The vendor name string. |
| [out] | retval | Receives the current vendor name. |