An NDoc Documented Class Library

FTPControlSocket.ValidateReply Method 

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

public virtual FTPReply ValidateReply(
   FTPReply reply,
   params string[] expectedReplyCodes
);

Parameters

reply
reply object
expectedReplyCodes
array of expected replies

Return Value

reply object

See Also

FTPControlSocket Class | EnterpriseDT.Net.Ftp Namespace