MFtpProtocolNotifier Class Reference

class MFtpProtocolNotifier

FTP engine callback interface.

An FTP engine client implements this interface to receive status and results from asynchronous FTP commands.

Constructor & Destructor Documentation

~MFtpProtocolNotifier()

~MFtpProtocolNotifier()[inline, virtual]

Destructor.

Member Functions Documentation

ErrorNotification(const TOpComp)

voidErrorNotification(const TOpCompaStatus)[pure virtual]

Error condition notification.

Parameters

const TOpComp aStatusOperation completion code

ServerMessage(const TDesC8 &)

voidServerMessage(const TDesC8 &aMessage)[pure virtual]

Message sent by the FTP server.

This returns the full server reply in plain text format.

Parameters

const TDesC8 & aMessageThe message sent by the server

ServerNegativeAnswerNotification(const TOpComp)

voidServerNegativeAnswerNotification(const TOpCompaStatus)[pure virtual]

Negative reply received from server.

Parameters

const TOpComp aStatusOperation completion code

ServerPositiveAnswerNotification(const TOpComp)

voidServerPositiveAnswerNotification(const TOpCompaStatus)[pure virtual]

Positive reply received from server.

Parameters

const TOpComp aStatusOperation completion code

ServerXFerNotification(const TOpComp)

voidServerXFerNotification(const TOpCompaStatus)[pure virtual]

Data transfer notification received from the server.

Parameters

const TOpComp aStatusOperation completion code

Member Enumerations Documentation

Enum TOpComp

FTP engine/session operation completeness codes.

Enumerators

EOpComplete = 0

Operation completed normally.

EOpCanceled

Operation cancelled.

EOpFailed

Operation failed.

ESocketError

Sockets level error.

EOpConnectionReset

Connection error: Connection reset.

EOpConnectionFailed

Connection error: Connection failed.

EHostNotFound

Connection error: Server not found.

EXferReset

Transfer error: Transfer was reset.

EXferNotInitialised

Transfer error: Transfer is not initialised.

EPacketReceived

Transfer notification: Data packet was received.

EPacketSent

Transfer notification: Data packet was sent.