Send method is only valid in FTP
and FTPS protocols. Sending custom
data in SFTP (secure ftp over ssh2)
is not possible, and refused by the component!
Send method will send custom message to the server at
any time you want. Typically, you would use it inside
Command
event - when wodFTPServer received some commands, and you
decide you will implement it by yourself. In such cases,
you would set CmdLine =
"" inside Command event, and then send
data manually to the user using this method.
You should not put reply code (number) inside the
Text argument, since wodFTPServer
will do this for you. Also, if your Text has more than one
lines, wodFTPServer will take care of proper placing of
reply codes so the client doesn't get confused by your
response.