Table of Contents

Interface IInternalFtpClient

Namespace
FluentFTP
Assembly
FluentFTP.dll

Interface for the InternalFtpClient class. For detailed documentation of the methods, please see the FtpClient class or check the Wiki on the FluentFTP Github project.

public interface IInternalFtpClient
Extension Methods

Methods

CloseDataStreamInternal(FtpDataStream)

FtpReply CloseDataStreamInternal(FtpDataStream stream)

Parameters

stream FtpDataStream

Returns

FtpReply

CloseDataStreamInternal(FtpDataStream, CancellationToken)

Task<FtpReply> CloseDataStreamInternal(FtpDataStream stream, CancellationToken token)

Parameters

stream FtpDataStream
token CancellationToken

Returns

Task<FtpReply>

ConnectInternal(bool)

void ConnectInternal(bool reConnect)

Parameters

reConnect bool

ConnectInternal(bool, CancellationToken)

Task ConnectInternal(bool reConnect, CancellationToken token)

Parameters

reConnect bool
token CancellationToken

Returns

Task

DisconnectInternal()

void DisconnectInternal()

DisconnectInternal(CancellationToken)

Task DisconnectInternal(CancellationToken token)

Parameters

token CancellationToken

Returns

Task

DisposeInternal()

void DisposeInternal()

DisposeInternal(CancellationToken)

ValueTask DisposeInternal(CancellationToken token)

Parameters

token CancellationToken

Returns

ValueTask

ExecuteInternal(string)

FtpReply ExecuteInternal(string command)

Parameters

command string

Returns

FtpReply

GetBaseStream()

FtpSocketStream GetBaseStream()

Returns

FtpSocketStream

GetReplyInternal()

FtpReply GetReplyInternal()

Returns

FtpReply

GetReplyInternal(string)

FtpReply GetReplyInternal(string command)

Parameters

command string

Returns

FtpReply

GetReplyInternal(string, bool)

FtpReply GetReplyInternal(string command, bool exhaustNoop)

Parameters

command string
exhaustNoop bool

Returns

FtpReply

GetReplyInternal(string, bool, int)

FtpReply GetReplyInternal(string command, bool exhaustNoop, int timeOut)

Parameters

command string
exhaustNoop bool
timeOut int

Returns

FtpReply

GetReplyInternal(string, bool, int, bool)

FtpReply GetReplyInternal(string command, bool exhaustNoop, int timeOut, bool useSema)

Parameters

command string
exhaustNoop bool
timeOut int
useSema bool

Returns

FtpReply

GetReplyInternal(CancellationToken)

Task<FtpReply> GetReplyInternal(CancellationToken token)

Parameters

token CancellationToken

Returns

Task<FtpReply>

GetReplyInternal(CancellationToken, string)

Task<FtpReply> GetReplyInternal(CancellationToken token, string command)

Parameters

token CancellationToken
command string

Returns

Task<FtpReply>

GetReplyInternal(CancellationToken, string, bool)

Task<FtpReply> GetReplyInternal(CancellationToken token, string command, bool exhaustNoop)

Parameters

token CancellationToken
command string
exhaustNoop bool

Returns

Task<FtpReply>

GetReplyInternal(CancellationToken, string, bool, int)

Task<FtpReply> GetReplyInternal(CancellationToken token, string command, bool exhaustNoop, int timeOut)

Parameters

token CancellationToken
command string
exhaustNoop bool
timeOut int

Returns

Task<FtpReply>

GetReplyInternal(CancellationToken, string, bool, int, bool)

Task<FtpReply> GetReplyInternal(CancellationToken token, string command, bool exhaustNoop, int timeOut, bool useSema)

Parameters

token CancellationToken
command string
exhaustNoop bool
timeOut int
useSema bool

Returns

Task<FtpReply>

GetWorkingDirectoryInternal()

string GetWorkingDirectoryInternal()

Returns

string

IsStillConnectedInternal(int)

bool IsStillConnectedInternal(int timeout = 10000)

Parameters

timeout int

Returns

bool

LogLine(FtpTraceLevel, string)

void LogLine(FtpTraceLevel eventType, string message)

Parameters

eventType FtpTraceLevel
message string

LogStatus(FtpTraceLevel, string, Exception, bool)

void LogStatus(FtpTraceLevel eventType, string message, Exception exception = null, bool exNewLine = false)

Parameters

eventType FtpTraceLevel
message string
exception Exception
exNewLine bool

NoopInternal(bool)

bool NoopInternal(bool ignoreNoopInterval = false)

Parameters

ignoreNoopInterval bool

Returns

bool

SetListingParser(FtpParser)

void SetListingParser(FtpParser parser)

Parameters

parser FtpParser