Checks for the existence of a file on the server.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0

Syntax

C#
public virtual bool Exists(
	string remoteFile
)
Visual Basic
Public Overridable Function Exists ( _
	remoteFile As String _
) As Boolean
Visual C++
public:
virtual bool Exists(
	String^ remoteFile
)

Parameters

remoteFile
Type: System..::..String
Path of file.

Return Value

true if the file exists and false otherwise.

Implements

IFileTransferClient..::..Exists(String)

See Also