Click or drag to resize

IWsEndUserSetEnqueueCreateFTPAccount Method

Performs an operation to create an FTP account. By the method SetEnqueueCreateFTPAccount () of Aruba is WsEndUser can create an FTP account, the initial size is set to 50 GB.

Namespace:  Aruba.Cloud.WsEndUser
Assembly:  Aruba.Cloud.WsEndUser (in Aruba.Cloud.WsEndUser.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
[OperationContractAttribute]
WsResult SetEnqueueCreateFTPAccount()

Return Value

Type: WsResult
The method returns an object WsResult containing information on the outcome of the method call. For further details on the information returned by the method refer to the definition of the class WsResult.
Examples
private static void CreateFTPAccount()
{
  try
  {
    WsResult result = client.SetEnqueueCreateFTPAccount();

    if (!result.Success)
    {
      throw new ApplicationException(String.Format(
        "An error has occurred while invoking SetEnqueueCreateFTPAccount(). {0}", result.ResultMessage));
    }
  }
  catch (Exception ex)
  {
    throw new ApplicationException(
      String.Format("An error has occurred while creating an FTP Account{0}", ex.Message));
  }
}
See Also