Validate the response the host has supplied against the
expected reply. If we get an unexpected reply we throw an
exception, setting the message to that returned by the
FTP server
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0
Syntax
C# |
---|
public virtual FTPReply ValidateReply( FTPReply reply, params string[] expectedReplyCodes ) |
Visual Basic |
---|
Public Overridable Function ValidateReply ( _ reply As FTPReply, _ ParamArray expectedReplyCodes As String() _ ) As FTPReply |
Visual C++ |
---|
public: virtual FTPReply^ ValidateReply( FTPReply^ reply, ... array<String^>^ expectedReplyCodes ) |
Parameters
- reply
- Type: EnterpriseDT.Net.Ftp..::..FTPReply
reply object
- expectedReplyCodes
- Type: array<System..::..String>[]()[][]
array of expected replies