Differences

This shows you the differences between the selected revisions of the page.

2015-12-21 2015-12-21
5.8 Added properties IsThisDirectory and IsParentDirectory to RemoteFileInfo class. (martin) 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)
Line 19: Line 19:
| [[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 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. |
Line 26: Line 27:
| 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. |+| 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. |

Last modified: by martin