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

IpAddress.GetReserved();

Return Object

FilesList<PublicIpAddress>

Authorization Requirement

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

Additional Arguments

Example Request

using FilesCom.Models;

try
{
    var publicIpAddressIterator = IpAddress.GetReserved();
    await foreach (PublicIpAddress publicIpAddress in publicIpAddressIterator.ListAutoPagingAsync()) {
        // Operate on publicIpAddress
    }
}
catch (FilesCom.NotAuthenticatedException e)
{
    Console.WriteLine($"Authentication Error Occurred ({e.GetType().Name}): " + e.Message);
}
catch (FilesCom.SdkException e)
{
    Console.WriteLine($"Unknown Error Occurred ({e.GetType().Name}): " + e.Message);
}

List all possible public ExaVault IP addresses

SDK Method

IpAddress.GetExavaultReserved();

Return Object

FilesList<PublicIpAddress>

Authorization Requirement

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

Additional Arguments

Example Request

using FilesCom.Models;

try
{
    var publicIpAddressIterator = IpAddress.GetExavaultReserved();
    await foreach (PublicIpAddress publicIpAddress in publicIpAddressIterator.ListAutoPagingAsync()) {
        // Operate on publicIpAddress
    }
}
catch (FilesCom.NotAuthenticatedException e)
{
    Console.WriteLine($"Authentication Error Occurred ({e.GetType().Name}): " + e.Message);
}
catch (FilesCom.SdkException e)
{
    Console.WriteLine($"Unknown Error Occurred ({e.GetType().Name}): " + e.Message);
}

List all possible public SmartFile IP addresses

SDK Method

IpAddress.GetSmartfileReserved();

Return Object

FilesList<PublicIpAddress>

Authorization Requirement

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

Additional Arguments

Example Request

using FilesCom.Models;

try
{
    var publicIpAddressIterator = IpAddress.GetSmartfileReserved();
    await foreach (PublicIpAddress publicIpAddress in publicIpAddressIterator.ListAutoPagingAsync()) {
        // Operate on publicIpAddress
    }
}
catch (FilesCom.NotAuthenticatedException e)
{
    Console.WriteLine($"Authentication Error Occurred ({e.GetType().Name}): " + e.Message);
}
catch (FilesCom.SdkException e)
{
    Console.WriteLine($"Unknown Error Occurred ({e.GetType().Name}): " + e.Message);
}

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