Click or drag to resize

FtpDirectory Class

Represents a FTP directory.
Inheritance Hierarchy
SystemObject
  GSF.Net.FtpFtpDirectory

Namespace: GSF.Net.Ftp
Assembly: GSF.Net (in GSF.Net.dll) Version: 2.4.207-beta
Syntax
public class FtpDirectory : IFtpFile, 
	IComparable, IComparable<IFtpFile>, IComparable<FtpDirectory>
View Source

The FtpDirectory type exposes the following members.

Properties
 NameDescription
Public propertyCaseInsensitive Gets or sets FTP case sensitivity of file and directory names.
Public propertyFiles Gets files of directory.
Public propertyFullPath Full path of directory.
Public propertyIsDirectory Returns true for directory entries.
Public propertyIsFile Returns false for directory entries.
Public propertyName Name of directory.
Public propertyParent Gets parent directory of directory.
Public propertyPermission Gets or sets permission of directory.
Public propertySize Gets or sets size of directory.
Public propertySubDirectories Gets sub directories of directory.
Public propertyTimestamp Gets or sets timestamp of directory.
Top
Methods
 NameDescription
Public methodBeginGetFile(String) Starts asynchronous remote file download from directory.
Public methodBeginGetFile(String, String) Starts asynchronous remote file download from directory using alternate local filename.
Public methodBeginPutFile(String) Starts asynchronous local file upload to directory.
Public methodBeginPutFile(String, String) Starts asynchronous local file upload to directory using alternate name.
Public methodCompareTo Compares directory or file to another.
Public methodCreateFile Creates a new zero-length remote file in directory.
Public methodCreateFileStream Creates a new data stream for remote file in directory.
Public methodEquals Determines if the two FtpDirectory objects are equal.
(Overrides ObjectEquals(Object))
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFindFile Finds matching file name in directory.
Public methodFindSubDirectory Finds matching subdirectory name in directory.
Public methodGetFile(String) Downloads remote file from directory.
Public methodGetFile(String, String) Downloads remote file from directory using alternate local filename.
Public methodGetHashCode Generates hash code for this FtpDirectory.
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodPutFile(String) Uploads local file to directory.
Public methodPutFile(String, String) Uploads local file to directory using alternate name.
Public methodRefresh Refreshes directory listing.
Public methodRemoveFile Removes file from directory.
Public methodRemoveSubDir Removes subdirectory from directory.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventDirectoryListLineScan Raised when new directory line is scanned.
Public eventDirectoryScanException Raised when there is an exception scanning a directory.
Top
Operators
 NameDescription
Public operatorStatic memberEquality(FtpDirectory, FtpDirectory) Compares the two values for equality.
Public operatorStatic memberGreaterThan(FtpDirectory, FtpDirectory) Returns true if left value is greater than right value.
Public operatorStatic memberGreaterThanOrEqual(FtpDirectory, FtpDirectory) Returns true if left value is greater than or equal to right value.
Public operatorStatic memberInequality(FtpDirectory, FtpDirectory) Compares the two values for inequality.
Public operatorStatic memberLessThan(FtpDirectory, FtpDirectory) Returns true if left value is less than right value.
Public operatorStatic memberLessThanOrEqual(FtpDirectory, FtpDirectory) Returns true if left value is less or equal to than right value.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also