Interface ISFTP Client in 28
- App
- System Application
- Namespace
- System.SFTPClient
Versions171819202122232425262728latest
Source2829
Source in 28
src/System Application/App/SFTP Client/src/ISFTPClient.Interface.al30 lines, Copyright (c) Microsoft Corporation. MIT
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------
namespace System.SFTPClient;
using System;
interface "ISFTP Client"
{
Access = Internal;
procedure SftpClient(Host: Text; Port: Integer; UserName: Text; Password: SecretText): Boolean
procedure SftpClient(Host: Text; Port: Integer; UserName: Text; PrivateKey: InStream): Boolean
procedure SftpClient(HostName: Text; Port: Integer; Username: Text; PrivateKey: InStream; Passphrase: SecretText): Boolean
procedure GetOperationException(var ExceptionType: Enum "SFTP Exception Type"; var ExceptionMessage: Text; var ServerFingerprintSHA256Param: Text)
procedure Disconnect()
procedure IsConnected(): Boolean
procedure Exists(Path: Text; var Exists: Boolean): Boolean
procedure Delete(Path: Text): Boolean
procedure WorkingDirectory(var Result: Text): Boolean
procedure SetWorkingDirectory(Path: Text): Boolean
procedure ListDirectory(Path: Text; var Result: List of [Interface "ISFTP File"]): Boolean
procedure ReadAllBytes(Path: Text; var Bytes: Dotnet Array): Boolean
procedure WriteAllBytes(Path: Text; Bytes: Dotnet Array): Boolean
procedure Get(Path: Text; var Result: Interface "ISFTP File"): Boolean
procedure CreateDirectory(Path: Text): Boolean
procedure SetSHA256Fingerprints(FingerPrints: List of [Text])
procedure SetMD5Fingerprints(FingerPrints: List of [Text])
}Procedures, 17
| Name | Parameters | Returns | Access | Obsolete |
|---|---|---|---|---|
| SftpClient | (Text, Integer, Text, SecretText) | Boolean | public | - |
| SftpClient | (Text, Integer, Text, InStream) | Boolean | public | - |
| SftpClient | (Text, Integer, Text, InStream, SecretText) | Boolean | public | - |
| GetOperationException | (var Enum SFTP Exception Type, var Text, var Text) | public | - | |
| Disconnect | () | public | - | |
| IsConnected | () | Boolean | public | - |
| Exists | (Text, var Boolean) | Boolean | public | - |
| Delete | (Text) | Boolean | public | - |
| WorkingDirectory | (var Text) | Boolean | public | - |
| SetWorkingDirectory | (Text) | Boolean | public | - |
| ListDirectory | (Text, var List) | Boolean | public | - |
| ReadAllBytes | (Text, var DotNet Array) | Boolean | public | - |
| WriteAllBytes | (Text, DotNet Array) | Boolean | public | - |
| Get | (Text, var Interface ISFTP File) | Boolean | public | - |
| CreateDirectory | (Text) | Boolean | public | - |
| SetSHA256Fingerprints | (List) | public | - | |
| SetMD5Fingerprints | (List) | public | - |