FtpClient Class

Definition

Typed client for ftp connector.

public class FtpClient : Azure.Connectors.Sdk.ConnectorClientBase
type FtpClient = class
    inherit ConnectorClientBase
Public Class FtpClient
Inherits ConnectorClientBase
Inheritance

Constructors

Name Description
FtpClient()
FtpClient(String)

Creates a new FtpClient with the specified connection runtime URL string. Uses ManagedIdentityCredential by default.

FtpClient(Uri, TokenCredential, ConnectorClientOptions)

Creates a new FtpClient with the specified connection runtime URL and credential.

FtpClient(Uri, TokenCredential)

Creates a new FtpClient with the specified connection runtime URL and credential.

FtpClient(Uri)

Creates a new FtpClient with the specified connection runtime URL. Uses ManagedIdentityCredential by default.

Properties

Name Description
ConnectorName
Pipeline

Gets the HTTP pipeline for making connector requests.

(Inherited from ConnectorClientBase)

Methods

Name Description
CallConnectorAsync(HttpMethod, String, Object, CancellationToken)

Sends a connector API request with no response body. Uses the Azure.Core HttpPipeline for retry, authentication, and diagnostics.

(Inherited from ConnectorClientBase)
CallConnectorAsync<TResponse>(HttpMethod, String, Object, CancellationToken)

Sends a connector API request and deserializes the JSON response. Uses the Azure.Core HttpPipeline for retry, authentication, and diagnostics.

(Inherited from ConnectorClientBase)
CopyFileAsync(String, String, Nullable<Boolean>, CancellationToken)

Copy file

CreateFileAsync(Byte[], String, String, CancellationToken)

Create file

DeleteFileAsync(String, CancellationToken)

Delete file

Dispose() (Inherited from ConnectorClientBase)
Dispose(Boolean)

Disposes the connector client resources.

(Inherited from ConnectorClientBase)
ExtractFolderAsync(String, String, Nullable<Boolean>, Nullable<Boolean>, CancellationToken)

Extract archive to folder

GetFileContentAsync(String, Nullable<Boolean>, CancellationToken)

Get file content

GetFileContentByPathAsync(String, Nullable<Boolean>, CancellationToken)

Get file content using path

GetFileMetadataAsync(String, CancellationToken)

Get file metadata

GetFileMetadataByPathAsync(String, CancellationToken)

Get file metadata using path

ResolveUrl(String)

Resolves a relative path or validates an absolute URL against the connection runtime URL. When the NextLink host matches the connection URL, it's used as-is. When it doesn't match (codeless connectors like ARM return nextLink pointing to the backend host e.g. management.azure.com), the path+query is extracted and routed through the APIM proxy. This is safe because the request still goes through the connection runtime URL with API Hub auth.

(Inherited from ConnectorClientBase)
UpdateFileAsync(String, Byte[], CancellationToken)

Update file

Applies to