The following tables list the members exposed by SftpFileInfo.

      Public Constructors

      NameDescription
      Public ConstructorsSftpFileInfo ConstructorOverloaded. Initializes a new instance of the SftpFileInfo.
      Top

      Public Properties

      NameDescription
      Public PropertiesAttributesOverridden. Gets the file attributes. Only Directory and Normal are used.
      Public PropertiesCreationTimeOverridden. Gets the DateTime of item creation or MinValue if not available.
      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 Sftp that the file belongs to.
      Public PropertiesFileTypeGets the type of the item.
      Public PropertiesFullNameOverridden. Gets the full path name.
      Public PropertiesGroupGets the group of the file.
      Public PropertiesGroupIdGets the group ID of the file.
      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 PropertiesLastAccessTimeOverridden. Gets the DateTime of last access or MinValue if not available.
      Public PropertiesLastWriteTimeOverridden. Gets the DateTime of last modification or MinValue if not available.
      Public PropertiesLengthOverridden. Gets the size of the file.
      Public PropertiesNameOverridden. Gets the name of the file or directory.
      Public PropertiesOriginalPathGets the original path of the item. For internal use only. (Inherited from FileInfoBase)
      Public PropertiesOwnerGets the owner of the file.
      Public PropertiesOwnerIdGets the user ID of the file.
      Public PropertiesParentFolderGets the parent folder object. (Inherited from FileInfoBase)
      Public PropertiesPermissionsGets the Unix/SFTP permissions.
      Public PropertiesRawNameGets the long name of the file.
      Public PropertiesSymlinkPathOverridden. Gets the path this item points to if it is symlink, null otherwise.
      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 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 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 fully qualified name of the file or directory. Intended for advanced usage only.
      Public MethodsWriteCreates a new file and writes data from the specified input data stream. (Inherited from FileInfoBase)
      Top

      See Also