Differences
This shows you the differences between the selected revisions of the page.
| library_session_getfileinfo 2011-12-30 | library_session_getfileinfo 2022-05-18 (current) | ||
| Line 1: | Line 1: | ||
| ====== Session.GetFileInfo Method ====== | ====== Session.GetFileInfo Method ====== | ||
| Retrieves information about remote file. | Retrieves information about remote file. | ||
| - | |||
| - | &future_feature | ||
| ===== Syntax ===== | ===== Syntax ===== | ||
| - | <code csharp> | + | <code csharp *> |
| public RemoteFileInfo GetFileInfo(string path) | public RemoteFileInfo GetFileInfo(string path) | ||
| + | </code> | ||
| + | |||
| + | <code vbnet *> | ||
| + | Public Function GetFileInfo(path As String) As RemoteFileInfo | ||
| </code> | </code> | ||
| Line 23: | Line 25: | ||
| | TimeoutException | Timeout waiting for ''winscp.com'' to respond. | | | TimeoutException | Timeout waiting for ''winscp.com'' to respond. | | ||
| - | ~~NOTOC~~ | + | ===== [[remarks]] Remarks ===== |
| + | For an alternative interface, see [[library_session_trygetfileinfo|''Session.TryGetFileInfo'']]. | ||
| + | |||
| + | ===== Examples ===== | ||
| + | |||
| + | ==== Real-Life Example ==== | ||
| + | |||
| + | * [[library_example_find_duplicate_files|*]]. | ||