Differences
This shows you the differences between the selected revisions of the page.
library_session_getfileinfo 2012-02-29 | 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. | ||
- | |||
- | &beta_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. | | ||
- | ===== Example ===== | + | ===== [[remarks]] Remarks ===== |
- | See [[library_session_getfiles#example|example]] for ''[[library_session_getfiles#example|Session.GetFiles]]''. | + | For an alternative interface, see [[library_session_trygetfileinfo|''Session.TryGetFileInfo'']]. |
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | ==== Real-Life Example ==== | ||
+ | |||
+ | * [[library_example_find_duplicate_files|*]]. | ||