edtFTPnet/Free - Open-source FTP component for .NET | Download

FTPFileFactory Class

Factory for creating FTPFile objects

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0
C#
public class FTPFileFactory
Inheritance
Object    FTPFileFactory

Constructors

FTPFileFactory Default constructor. No parsers are set.
FTPFileFactory(FTPFileParser) Constructor. User supplied parser. Note that parser detection is disabled if a parser is explicitly supplied
FTPFileFactory(String) Constructor

Properties

FileParser Get or set the file parser to be used. If it is set explicitly, it is never rotated.
ParserSetExplicitly Was the parser set explicitly, or was it worked out via the SYST command>
ParsingCulture Get/set the culture info for parsing
System Get or set the system string (typically the string returned from the SYST command).
TimeDifference [FTP/FTPS Only] Time difference between server and client (relative to client).
TimeIncludesSeconds Get flag indicating whether or not the most recent parse returned seconds.
VMSParser Get the instance of the VMS parser

Methods

AddParser Rather than forcing a parser (as in the constructor that accepts a parser), this adds a parser to the list of those used.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Parse Parse an array of raw file information returned from the FTP server
PartialParse 
SetParser Set the remote server type
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

timeDiffTime difference between server and client (relative to client).

See Also