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 IP addresses

SDK Method

\Files\Model\IpAddress::getReserved;

Return Object

PublicIpAddress[]

Authorization Requirement

No authentication required; you may call this endpoint without a key or session.

Additional Arguments

Example Request

try {
  $public_ip_addresses = \Files\Model\IpAddress::getReserved();
  foreach ($public_ip_addresses as $public_ip_address) {
    // Operate on $public_ip_address
  }
} catch (\Files\Exception\NotAuthenticatedException $e) {
  echo 'Authentication Error Occurred (' . get_class($e) . '): ', $e->getMessage(), "\n";
} catch (\Files\Exception\FilesException $e) {
  echo 'Unknown Error Occurred (' . get_class($e) . '): ', $e->getMessage(), "\n";
}

List all possible public ExaVault IP addresses

SDK Method

\Files\Model\IpAddress::getExavaultReserved;

Return Object

PublicIpAddress[]

Authorization Requirement

No authentication required; you may call this endpoint without a key or session.

Additional Arguments

Example Request

try {
  $public_ip_addresses = \Files\Model\IpAddress::getExavaultReserved();
  foreach ($public_ip_addresses as $public_ip_address) {
    // Operate on $public_ip_address
  }
} catch (\Files\Exception\NotAuthenticatedException $e) {
  echo 'Authentication Error Occurred (' . get_class($e) . '): ', $e->getMessage(), "\n";
} catch (\Files\Exception\FilesException $e) {
  echo 'Unknown Error Occurred (' . get_class($e) . '): ', $e->getMessage(), "\n";
}

List all possible public SmartFile IP addresses

SDK Method

\Files\Model\IpAddress::getSmartfileReserved;

Return Object

PublicIpAddress[]

Authorization Requirement

No authentication required; you may call this endpoint without a key or session.

Additional Arguments

Example Request

try {
  $public_ip_addresses = \Files\Model\IpAddress::getSmartfileReserved();
  foreach ($public_ip_addresses as $public_ip_address) {
    // Operate on $public_ip_address
  }
} catch (\Files\Exception\NotAuthenticatedException $e) {
  echo 'Authentication Error Occurred (' . get_class($e) . '): ', $e->getMessage(), "\n";
} catch (\Files\Exception\FilesException $e) {
  echo 'Unknown Error Occurred (' . get_class($e) . '): ', $e->getMessage(), "\n";
}

The PublicIpAddress Object

Some of the methods above return a PublicIpAddress object. The attributes of this object are listed below.

AttributeDescription
ip_address
string
The public IP address.
server_name
string
The name of the frontend server.
ftp_enabled
boolean
sftp_enabled
boolean