The following tables list the members exposed by FtpFileInfo.

      Public Constructors

      NameDescription
      Public ConstructorsFtpFileInfo ConstructorOverloaded. Initializes a new instance of the FtpFileInfo class.
      Top

      Public Properties

      NameDescription
      Public PropertiesAttributesOverridden. Gets the file attributes. Only Directory and Normal are available.
      Public PropertiesCreationTimeOverridden. Gets the item creation time.
      Public PropertiesDirectoryNameGets the directory path, or null reference if not available. (Inherited from FileInfoBase)
      Public PropertiesExistsGets a boolean value indicating if the item physically exists. (Inherited from FileInfoBase)
      Public PropertiesFileSystemOverridden. Gets the file system that the file belongs to.
      Public PropertiesFullNameOverridden. Gets the fully qualified name.
      Public PropertiesGroupGroup identifier (Unix only). If null, the value was never assigned or succesfully parsed.
      Public PropertiesIsDirectoryOverridden. Gets the flag indicating whether the item might be a directory.
      Public PropertiesIsFileOverridden. Gets the flag indicating whether the item might be a file.
      Public PropertiesIsSymlinkOverridden. Gets the flag indicating whether the item is a symlink.
      Public PropertiesLastWriteTimeOverridden. Returns the DateTime of last modification.
      Public PropertiesLengthOverridden. Gets the size of the file.
      Public PropertiesNameOverridden. Gets the name of the file or directory.
      Public PropertiesOriginalPathOverridden. Gets the original name of the FTP item. The original name is the file path parameter passed to a method call.
      Public PropertiesOwnerThe owner of the file. If null, the value was never assigned or succesfully parsed.
      Public PropertiesParentFolderGets the parent folder object. (Inherited from FileInfoBase)
      Public PropertiesPermissionsThe attributes (permissions) of the file. If None, the value was never assigned or succesfully parsed.
      Public PropertiesPermissionsStringGets the permissions string.
      Public PropertiesRawNameGets the FTP Item's raw name.
      Public PropertiesSymlinkPathOverridden. Gets the path this item points to if it is symlink, null otherwise.
      Public PropertiesSystemGets the file system type.
      Public PropertiesTypeGets the type of the item.
      Top

      Public Methods

      NameDescription
      Public MethodsApplyPropertiesFromApplies properties from the specified source file. (Inherited from FileInfoBase)
      Public MethodsCopyToCopies this file to the specified destination file. (Inherited from FileInfoBase)
      Public MethodsCreateCreates the physical item represented by this object. (Inherited from FileInfoBase)
      Public MethodsDeletePermanently deletes the physical file or directory. (Inherited from FileInfoBase)
      Public MethodsGetChecksumGets the checksum of the current file. (Inherited from FileInfoBase)
      Public MethodsGetFilesReturns a collection of files matching the specified search condition in this folder. (Inherited from FileInfoBase)
      Public MethodsGetFoldersReturns a collection of folders matching the specified search condition in this folder. (Inherited from FileInfoBase)
      Public MethodsGetItemsReturns a collection of files and directories matching the specified search condition in this folder. (Inherited from FileInfoBase)
      Public MethodsStatic MemberGetPermissionsStringReturns permissions string.
      Public MethodsIsSameAsOverridden. Gets a boolean value indicating if the source and target items represent the same physical entity.
      Public MethodsMatchesReturns a boolean value indicating whether the file matches the specified search condition. (Inherited from FileInfoBase)
      Public MethodsMatchesAllReturns a boolean value indicating whether the file matches all the specified search conditions. (Inherited from FileInfoBase)
      Public MethodsMatchesOneReturns a boolean value indicating whether the file matches at least one of the specified search conditions. (Inherited from FileInfoBase)
      Public MethodsOpenReadOverridden. Opens the file for reading with the specified sharing mode.
      Public MethodsOpenWriteOverridden. Opens the file for writing with the specified sharing mode.
      Public MethodsStatic MemberParseOverloaded. Creates a new instance of the FtpFileInfo class and initializes it with file info from a raw FTP list line.
      Public MethodsReadReads the whole file and return its content to an array of bytes. (Inherited from FileInfoBase)
      Public MethodsRefreshRe-reads the information from the physical item. (Inherited from FileInfoBase)
      Public MethodsToStringOverridden. Returns the name of the item.
      Public MethodsUpdateFullNameOverridden. Updates the item full name. All other information is not refreshed after assigning to a new path. To refresh the file information, call the Refresh method.
      Public MethodsWriteCreates a new file and writes data from the specified input data stream. (Inherited from FileInfoBase)
      Top

      Public Events

      NameDescription
      Public EventsItemParseOccurs when an item is being parsed.
      Top

      See Also