Public IP Addresses
A PublicIPAddress is an IP address that app.files.com (or *.files.com) may potentially resolve to over the next 30 days. This list includes IP addresses that are hot standbys not in use.
List all possible public SmartFile IP addresses
SDK Method
ip_address.GetSmartfileReserved()
Return Values
Returns a *ip_address.Iter and an error. All() returns iter.Seq2[any, error] because this package has listings that return different resource types. This operation yields files_sdk.PublicIpAddress values. Use a type assertion or type switch to access their fields.
Check each loop error before using its resource. Next() and Err() remain supported.
Authorization Requirement
No authentication required; you may call this endpoint without a key or session.
Additional Arguments
List all possible public ExaVault IP addresses
SDK Method
ip_address.GetExavaultReserved()
Return Values
Returns a *ip_address.Iter and an error. All() returns iter.Seq2[any, error] because this package has listings that return different resource types. This operation yields files_sdk.PublicIpAddress values. Use a type assertion or type switch to access their fields.
Check each loop error before using its resource. Next() and Err() remain supported.
Authorization Requirement
No authentication required; you may call this endpoint without a key or session.
Additional Arguments
List all possible public IP addresses
SDK Method
ip_address.GetReserved()
Return Values
Returns a *ip_address.Iter and an error. All() returns iter.Seq2[any, error] because this package has listings that return different resource types. This operation yields files_sdk.PublicIpAddress values. Use a type assertion or type switch to access their fields.
Check each loop error before using its resource. Next() and Err() remain supported.
Authorization Requirement
No authentication required; you may call this endpoint without a key or session.
Additional Arguments
The PublicIpAddress Object
Some of the methods above return a PublicIpAddress object. The attributes of this object are listed below.
| Attribute | Description |
|---|---|
| IpAddress string | The public IP address. |
| ServerName string | The name of the frontend server. |
| FtpEnabled boolean | |
| SftpEnabled boolean |