Click or drag to resize

FtpDirectory Methods

The FtpDirectory type exposes the following members.

Methods
  Name Description
Public method BeginGetFile(String) Starts asynchronous remote file download from directory.
Public method BeginGetFile(String, String) Starts asynchronous remote file download from directory using alternate local filename.
Public method BeginPutFile(String) Starts asynchronous local file upload to directory.
Public method BeginPutFile(String, String) Starts asynchronous local file upload to directory using alternate name.
Public method CompareTo Compares directory or file to another.
Public method CreateFile Creates a new zero-length remote file in directory.
Public method CreateFileStream Creates a new data stream for remote file in directory.
Public method Equals Determines if the two FtpDirectory objects are equal.
(Overrides ObjectEquals(Object))
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public method FindFile Finds matching file name in directory.
Public method FindSubDirectory Finds matching subdirectory name in directory.
Public method GetFile(String) Downloads remote file from directory.
Public method GetFile(String, String) Downloads remote file from directory using alternate local filename.
Public method GetHashCode Generates hash code for this FtpDirectory.
(Overrides ObjectGetHashCode)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Public method PutFile(String) Uploads local file to directory.
Public method PutFile(String, String) Uploads local file to directory using alternate name.
Public method Refresh Refreshes directory listing.
Public method RemoveFile Removes file from directory.
Public method RemoveSubDir Removes subdirectory from directory.
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also