Click or drag to resize

FtpFile Class

Represents a FTP file.
Inheritance Hierarchy
SystemObject
  GSF.Net.FtpFtpFile

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

The FtpFile type exposes the following members.

Properties
 NameDescription
Public propertyFullPath Full path of file.
Public propertyIsDirectory Returns false for directory entries.
Public propertyIsFile Returns true for file entries.
Public propertyName Name of file.
Public propertyParent Gets parent directory of file.
Public propertyPermission Gets or sets permission of file.
Public propertySize Gets or sets size of file.
Public propertyTimestamp Gets or sets timestamp of file.
Top
Methods
 NameDescription
Public methodCompareTo Compares directory or file to another.
Public methodEquals Determines if the two FtpFile 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 methodGet Downloads remote file.
Public methodGet(String) Downloads remote file using alternate local filename.
Public methodGetHashCode Generates hash code for this FtpFile.
(Overrides ObjectGetHashCode)
Public methodGetInputStream Gets FTP input stream for file.
Public methodGetInputStream(Int64) Gets FTP input stream for file at given offset.
Public methodGetOutputStream Gets FTP output stream for file.
Public methodGetOutputStream(Int64) Gets FTP output stream for file at given offset.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRemove Removes remote file.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Operators
 NameDescription
Public operatorStatic memberEquality(FtpFile, FtpFile) Compares the two values for equality.
Public operatorStatic memberGreaterThan(FtpFile, FtpFile) Returns true if left value is greater than right value.
Public operatorStatic memberGreaterThanOrEqual(FtpFile, FtpFile) Returns true if left value is greater than or equal to right value.
Public operatorStatic memberInequality(FtpFile, FtpFile) Compares the two values for inequality.
Public operatorStatic memberLessThan(FtpFile, FtpFile) Returns true if left value is less than right value.
Public operatorStatic memberLessThanOrEqual(FtpFile, FtpFile) 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