Class FtpConnectionData
Inheritance
FtpConnectionData
Assembly: FubarDev.FtpServer.Abstractions.dll
Syntax
public sealed class FtpConnectionData : ILocalizationFeature, IFileSystemFeature, IAuthorizationInformationFeature, ITransferConfigurationFeature, IMlstFactsFeature, IDisposable
Constructors
|
Improve this Doc
View Source
FtpConnectionData(Encoding, IFeatureCollection, IFtpCatalogLoader)
Declaration
public FtpConnectionData(Encoding defaultEncoding, IFeatureCollection featureCollection, IFtpCatalogLoader catalogLoader)
Parameters
Type |
Name |
Description |
Encoding |
defaultEncoding |
The default encoding.
|
IFeatureCollection |
featureCollection |
The feature collection where all features get stored.
|
IFtpCatalogLoader |
catalogLoader |
The catalog loader for the FTP server.
|
Properties
|
Improve this Doc
View Source
ActiveMlstFacts
Declaration
[Obsolete("Query the information using the IMlstFactsFeature instead.")]
public ISet<string> ActiveMlstFacts { get; }
Property Value
|
Improve this Doc
View Source
BackgroundCommandHandler
Declaration
[Obsolete("Query IBackgroundTaskLifetimeFeature to get information about an active background task (if non-null).")]
public IBackgroundCommandHandler? BackgroundCommandHandler { get; }
Property Value
|
Improve this Doc
View Source
Catalog
Declaration
[Obsolete("Query the information using the ILocalizationFeature instead.")]
public ICatalog Catalog { get; set; }
Property Value
Type |
Description |
NGettext.ICatalog |
|
|
Improve this Doc
View Source
CreateEncryptedStream
Gets or sets a delegate that allows the creation of an encrypted stream.
Declaration
[Obsolete("Query the information using the ISecureConnectionFeature instead.")]
public CreateEncryptedStreamDelegate? CreateEncryptedStream { get; set; }
Property Value
|
Improve this Doc
View Source
CurrentDirectory
Declaration
[Obsolete("Query the information using the IFileSystemFeature instead.")]
public IUnixDirectoryEntry CurrentDirectory { get; }
Property Value
|
Improve this Doc
View Source
FileSystem
Declaration
[Obsolete("Query the information using the IFileSystemFeature instead.")]
public IUnixFileSystem FileSystem { get; set; }
Property Value
|
Improve this Doc
View Source
FtpUser
Declaration
[Obsolete("User the IAuthorizationInformationFeature services to get the current status.")]
public ClaimsPrincipal? FtpUser { get; set; }
Property Value
|
Improve this Doc
View Source
IsAnonymous
Gets or sets a value indicating whether the current user is anonymous.
Declaration
[Obsolete("An anonymous user object now implements IAnonymousFtpUser.")]
public bool IsAnonymous { get; set; }
Property Value
|
Improve this Doc
View Source
IsLoggedIn
Gets or sets a value indicating whether the user with the User.
is logged in.
Declaration
[Obsolete("User the IFtpLoginStateMachine services to get the current status.")]
public bool IsLoggedIn { get; set; }
Property Value
|
Improve this Doc
View Source
Language
Declaration
[Obsolete("Query the information using the ILocalizationFeature instead.")]
public CultureInfo Language { get; set; }
Property Value
|
Improve this Doc
View Source
NlstEncoding
Gets or sets the Encoding for the NLST
command.
Declaration
[Obsolete("Query the information using the IEncodingFeature instead.")]
public Encoding NlstEncoding { get; set; }
Property Value
|
Improve this Doc
View Source
PassiveSocketClient
Gets or sets the data connection for a passive data transfer.
Declaration
[Obsolete("This property is not used any more. Use IFtpDataConnectionFeature instead.")]
public TcpClient? PassiveSocketClient { get; set; }
Property Value
|
Improve this Doc
View Source
Path
Declaration
[Obsolete("Query the information using the IFileSystemFeature instead.")]
public Stack<IUnixDirectoryEntry> Path { get; set; }
Property Value
|
Improve this Doc
View Source
PortAddress
Gets or sets the address to use for an active data connection.
Declaration
[Obsolete("This property is not used any more. Use IFtpDataConnectionFeature instead.")]
public Address? PortAddress { get; set; }
Property Value
|
Improve this Doc
View Source
RenameFrom
Declaration
[Obsolete("Query the information using the IRenameCommandFeature instead.")]
public SearchResult<IUnixFileSystemEntry>? RenameFrom { get; set; }
Property Value
|
Improve this Doc
View Source
RestartPosition
Gets or sets the restart position for appending data to a file.
Declaration
[Obsolete("Query the information using the IRestCommandFeature instead.")]
public long? RestartPosition { get; set; }
Property Value
|
Improve this Doc
View Source
TransferMode
Declaration
[Obsolete("Query the information using the ITransferConfigurationFeature instead.")]
public FtpTransferMode TransferMode { get; set; }
Property Value
|
Improve this Doc
View Source
TransferTypeCommandUsed
Gets or sets the last used transfer type command.
Declaration
[Obsolete("The restriction was lifted.")]
public string? TransferTypeCommandUsed { get; set; }
Property Value
Remarks
|
Improve this Doc
View Source
User
Declaration
[Obsolete("User the IAuthorizationInformationFeature services to get the current status.")]
public IFtpUser? User { get; set; }
Property Value
|
Improve this Doc
View Source
UserData
Gets or sets user data as dynamic
object.
Declaration
[Obsolete("Use IFtpConnection.Features to store custom information.")]
public dynamic UserData { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Dispose()
Declaration
Implements