Detects whether the specified file exists on the server.

Namespace:  Rebex.Net
Assembly:  Rebex.FileTransfer (in Rebex.FileTransfer.dll)

Syntax

Visual Basic
Public Function FileExists ( _
	remotePath As String _
) As Boolean
C#
public bool FileExists(
	string remotePath
)

Parameters

remotePath
Type: System..::..String
The path of the remote file to check.

Return Value

True if the file exists, false otherwise.

Implements

IFtp..::..FileExists(String)

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also