This is an old revision of the document!

Session.GetFileInfo Method

Retrieves information about remote file.

Syntax

public RemoteFileInfo GetFileInfo(string path)

Advertisement

Parameters

Name Description
string path Full path to remote file.

Return Value

RemoteFileInfo.

Exceptions

Exception Condition
InvalidOperationException Session is not opened.
SessionException Error communicating with winscp.com.
Session has failed.
Retrieving information has failed.
TimeoutException Timeout waiting for winscp.com to respond.

Last modified: by martin