Detects whether the specified file exists on the server.

Namespace: Jscape.Ftp
Assembly: Jscape.Ftp (in Jscape.Ftp.dll) Version: 2.4.5.0

Syntax

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

Parameters

remotePath
Type: System..::..String
The remote file.

Return Value

True if the file exists, false otherwise.

See Also