Click or drag to resize

IWsEndUserGetPurchasedFTP Method

Gets the FTP user account information. By the method GetPurchasedFTP() of Aruba WsEndUser, you can get detailed information FTP account user upon authentication. Returns, among others, information on: total space, occupied space, space occupied by PersonalTemplate.

Namespace:  Aruba.Cloud.WsEndUser
Assembly:  Aruba.Cloud.WsEndUser (in Aruba.Cloud.WsEndUser.dll) Version: (
WsResult<FTP> GetPurchasedFTP()

Return Value

Type: WsResultFTP
The method returns an object of class WsResultOfFTP containing detailed information FTP account user. For further details on the information returned by the method see the class definition WsResult and class FTP-->.
The following example describes a method, called GetFTPServer(), which means a call to GetPurchasedFTP () to Aruba WsEndUser, gets the information of the FTP server where you created your account.
private FTPServer GetFTPServer()
  FTPServer ftpServer;

    WsResultOfFTP result = client.GetPurchasedFTP();

    if (result.Success)
      return ftpServer;
      throw new ApplicationException(String.Format(
        "An error has occurred while invoking GetPurchasedFTP(). {0}", result.ResultMessage));
  catch (Exception ex)
    throw new ApplicationException(String.Format("An error has occurred while getting FTP server information {0}", ex.Message));
See Also