Differences

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

library_session_getfileinfo 2012-01-10 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 22: Line 24:
| [[library_sessionremoteexception|SessionRemoteException]] | Session has failed. \\ Retrieving information has failed. \\ See the exception documentation for details. | | [[library_sessionremoteexception|SessionRemoteException]] | Session has failed. \\ Retrieving information has failed. \\ See the exception documentation for details. |
| TimeoutException | Timeout waiting for ''winscp.com'' to respond. | | TimeoutException | Timeout waiting for ''winscp.com'' to respond. |
 +
 +===== [[remarks]] Remarks =====
 +For an alternative interface, see [[library_session_trygetfileinfo|''Session.TryGetFileInfo'']].
 +
 +===== Examples =====
 +
 +==== Real-Life Example ====
 +
 +  * [[library_example_find_duplicate_files|*]].

Last modified: by martin