Differences
This shows you the differences between the selected revisions of the page.
2015-12-21 | 2016-01-22 | ||
5.8 Change: The RemoteFileInfo.Name now contains a name only, even for a RemoteFileInfo instance returned by the Session.GetFileInfo. + Added a FullName property to the RemoteFileInfo class. (martin) | property anchors (martin) | ||
Line 17: | Line 17: | ||
===== Properties ===== | ===== Properties ===== | ||
^ Name ^ Description ^ | ^ Name ^ Description ^ | ||
- | | [[library_filepermissions|FilePermissions]] FilePermissions | File permissions. Read-only. | | + | | [[library_filepermissions|FilePermissions]] ==FilePermissions== | File permissions. Read-only. | |
- | | char FileType | File type. ''-'' for regular file, ''D'' for directory, ''L'' for symlink, etc. Read-only. See also ''IsDirectory''. | | + | | char ==FileType== | File type. ''-'' for regular file, ''D'' for directory, ''L'' for symlink, etc. Read-only. See also ''IsDirectory''. | |
- | | string FullName | File path. Read-only. &beta_feature | | + | | string ==FullName== | File path. Read-only. &beta_feature | |
- | | string Group | File group. | | + | | string ==Group== | File group. | |
- | | bool IsDirectory | Is file a directory? (i.e. ''FileType'' is ''D''). Read-only. | | + | | bool ==IsDirectory== | Is file a directory? (i.e. ''FileType'' is ''D''). Read-only. | |
- | | bool IsParentDirectory | Is it a reference to a parent directory (''..'')? Read-only. &beta_feature | | + | | bool ==IsParentDirectory== | Is it a reference to a parent directory (''..'')? Read-only. &beta_feature | |
- | | bool IsThisDirectory | Is it a reference to this directory (''.'')? Read-only. &beta_feature | | + | | bool ==IsThisDirectory== | Is it a reference to this directory (''.'')? Read-only. &beta_feature | |
- | | DateTime LastWriteTime | Timestamp of the last file modification. Read-only. | | + | | DateTime ==LastWriteTime== | Timestamp of the last file modification. Read-only. | |
- | | long Length | Size of the file in bytes. Read-only. | | + | | long ==Length== | Size of the file in bytes. Read-only. | |
- | | int Length32 | An alternative to ''Length''. Particularly useful for COM hosts, that do not support 64-bit integers, such as Visual Basic. Throws ''OverflowException'', when the file size cannot be expressed using 32-bit integer. | | + | | int ==Length32== | An alternative to ''Length''. Particularly useful for COM hosts, that do not support 64-bit integers, such as Visual Basic. Throws ''OverflowException'', when the file size cannot be expressed using 32-bit integer. | |
- | | string Name | File name (with ''[[library_session_listdirectory|Session.ListDirectory]]'') or file path (with ''[[library_session_getfileinfo|Session.GetFileInfo]]''). Read-only. //In the beta version, it returns a file name only in both cases. For the file path, use the ''FullName''.// &beta | | + | | string ==Name== | File name (with ''[[library_session_listdirectory|Session.ListDirectory]]'') or file path (with ''[[library_session_getfileinfo|Session.GetFileInfo]]''). Read-only. //In the beta version, it returns a file name only in both cases. For the file path, use the ''FullName''.// &beta | |
- | | string Owner | File owner. | | + | | string ==Owner== | File owner. | |
===== Methods ===== | ===== Methods ===== |