Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

FtpException Class

Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9147)

The exception that is thrown when an error occurs while using Ftp component.

Syntax
public class FtpException : NetworkSessionException, ISerializable
Inheritance
Object
Exception
NetworkSessionException
FtpException
Implements
ISerializable
Inherited Members
NetworkSessionException.ProtocolCode
NetworkSessionException.ProtocolMessage
Exception.Data
Exception.GetBaseException()
Exception.GetType()
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.SerializeObjectState
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)

Constructors

Name Description
FtpException()

Initializes a new instance of the FtpException class.

FtpException(FtpResponse)

Initializes a new instance of the FtpException class with the specified FtpResponse.

FtpException(String)

Initializes a new instance of the FtpException class with the specified error message.

FtpException(String, FtpExceptionStatus)

Initializes a new instance of the FtpException class with the specified error message and status.

FtpException(String, Exception)

Initializes a new instance of the FtpException class with the specified error message and a reference to the inner exception that is the cause of this exception.

FtpException(String, Exception, FtpExceptionStatus)

Initializes a new instance of the FtpException class with the specified error message, status, and a reference to the inner exception that is the cause of this exception.

Properties

Name Description
LocalPath

Gets the path of the local file or directory which is currently processed or null (Nothing in Visual Basic) if not available.

ProblemType

Gets the type of the problem which occurred at multi-file operation.

ProtocolCode

Gets the protocol error code, if available (usually when Status is set to ProtocolError). Inherited from NetworkSessionException.

ProtocolMessage

Gets the protocol error message, if available (usually when Status is set to ProtocolError). Inherited from NetworkSessionException.

RemotePath

Gets the path of the remote file or directory which is currently processed or null (Nothing in Visual Basic) if not available.

Response

Gets the FtpResponse of the exception.

Status

Gets the status of the response.

Transferred

Gets the amount of data transferred before the exception occurred.

In This Article
  • Constructors
  • Properties
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies