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 Function

IpAddress.getSmartfileReserved()

Return Object

ListIterator<PublicIpAddress>

Authorization Requirement

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

Additional Arguments

Example Request

import com.files.ListIterator;
import com.files.exceptions.*;
import com.files.exceptions.ApiErrorException.*;
import com.files.models.IpAddress;
import com.files.models.PublicIpAddress;

try {
  HashMap<String, Object> parameters = new HashMap<>();
  ListIterator<PublicIpAddress> publicIpAddresses = IpAddress.getSmartfileReserved(parameters);
  for (PublicIpAddress publicIpAddress : publicIpAddresses.listAutoPaging()) {
    // Operate on publicIpAddress
  }
} catch (NotAuthenticatedException e) {
  System.out.println("Authentication Error Occurred (" + e.getClass().getName() + "): " + e.getMessage());
} catch (SdkException e) {
  System.out.println("Unknown Error Occurred (" + e.getClass().getName() + "): " + e.getMessage());
}

List all possible public ExaVault IP addresses

SDK Function

IpAddress.getExavaultReserved()

Return Object

ListIterator<PublicIpAddress>

Authorization Requirement

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

Additional Arguments

Example Request

import com.files.ListIterator;
import com.files.exceptions.*;
import com.files.exceptions.ApiErrorException.*;
import com.files.models.IpAddress;
import com.files.models.PublicIpAddress;

try {
  HashMap<String, Object> parameters = new HashMap<>();
  ListIterator<PublicIpAddress> publicIpAddresses = IpAddress.getExavaultReserved(parameters);
  for (PublicIpAddress publicIpAddress : publicIpAddresses.listAutoPaging()) {
    // Operate on publicIpAddress
  }
} catch (NotAuthenticatedException e) {
  System.out.println("Authentication Error Occurred (" + e.getClass().getName() + "): " + e.getMessage());
} catch (SdkException e) {
  System.out.println("Unknown Error Occurred (" + e.getClass().getName() + "): " + e.getMessage());
}

List all possible public IP addresses

SDK Function

IpAddress.getReserved()

Return Object

ListIterator<PublicIpAddress>

Authorization Requirement

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

Additional Arguments

Example Request

import com.files.ListIterator;
import com.files.exceptions.*;
import com.files.exceptions.ApiErrorException.*;
import com.files.models.IpAddress;
import com.files.models.PublicIpAddress;

try {
  HashMap<String, Object> parameters = new HashMap<>();
  ListIterator<PublicIpAddress> publicIpAddresses = IpAddress.getReserved(parameters);
  for (PublicIpAddress publicIpAddress : publicIpAddresses.listAutoPaging()) {
    // Operate on publicIpAddress
  }
} catch (NotAuthenticatedException e) {
  System.out.println("Authentication Error Occurred (" + e.getClass().getName() + "): " + e.getMessage());
} catch (SdkException e) {
  System.out.println("Unknown Error Occurred (" + e.getClass().getName() + "): " + e.getMessage());
}

The PublicIpAddress Object

Some of the functions 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