'Declaration Public Class SFtpSession Implements System.IDisposable
'Usage Dim instance As SFtpSession
public class SFtpSession : System.IDisposable
'Declaration Public Class SFtpSession Implements System.IDisposable
'Usage Dim instance As SFtpSession
public class SFtpSession : System.IDisposable
The SFtpSession class implements the System.IDisposable interface, meaning that every SFtpSession object that is created should also be disposed of by calling the Dispose method or, in C#, creating the SFtpConnection within a using block. If an instance of an SFtpSession object is not disposed of, connections with the SFTP server may remain active until the server times-out or the garbage-collector passes.
System.Object
Xceed.SSH.Client.SFtpSession
Xceed.SSH.Client.SFtpConnection
Name | Description | |
---|---|---|
![]() | SFtpSession Constructor | Overloaded. Initializes a new instance of the SFtpSession class. |
Name | Description | |
---|---|---|
![]() | DefaultSFtpAttributes | The default SFTP attributes. |
![]() | DefaultValidFileAttributes | The default valid file attributes. |
![]() | HostedFullNamePrefix | |
![]() | MaximumStreamBufferSize | |
![]() | MinimumStreamBufferSize |
Name | Description | |
---|---|---|
![]() | SftpClientInternal | The SFtpClient that uses this SFtpSession. |
![]() | SshClientInternal | The SSHClient that uses this SFtpSession. |
![]() | TraceWriterInternal | The System.IO.TextWriter which will trace the communications between the client-side and the SFTP server. |
Name | Description | |
---|---|---|
![]() | Connected | |
![]() | SFtpClient | Gets the SFtpClient that uses this SFtpSession. |
![]() | SFtpServerProtocolVersion | Gets a value that indicates the SFtp protocol version number that the SFtp server uses for the current session. |
![]() | SshClient | Gets the SSHClient that uses this SFtpSession. |
![]() | Timeout | Gets or sets a value, in seconds, indicating after what period of time an SFTP operation should timeout. |
![]() | TraceWriter | Gets or sets the System.IO.TextWriter which will trace the communications between the client-side and the SFTP server. |
Name | Description | |
---|---|---|
![]() ![]() | ComputeFullName | Overloaded. |
![]() | ComputeHostedFullName | |
![]() | ComputeStreamBufferSize | Overloaded. Computes the optimal buffer size for SFtp file transfers on the specified stream. |
![]() | Connect | Overloaded. |
![]() | Disconnect | |
![]() | Dispose | Overloaded. Releases all cached connections. |
![]() ![]() | IsSSHException | |
![]() ![]() | ToFileSystemFileAttributes | Converts Xceed.SSH.SFtp.Attr values to System.IO.FileAttributes values. |
![]() ![]() | ToFileSystemPath | Converts an SFTP path to an Xceed FileSystem path. |
![]() ![]() | ToSFtpFileAttributes | Converts System.IO.FileAttributes to Xceed.SSH.SFtp.SFtpConstants. |
![]() ![]() | ToSftpPath | Converts an Xceed FileSystem path to an SFTP path. |
![]() ![]() | TryParseHostedFullName | Attempts to parse a string produced by the ComputeHostedFullName Method that breaks down the information into individual components. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2