Back to product page
- Introduction
- Overview
- License agreement
- Getting Started
- Objects
- Enumerations
- wodFTPD
- Methods
- Properties
- Authentication
- BindIP
- BindIPType
- Certificate
- DirFormat
- Encryption
- EncryptionList
- FileLocking
- FIPS
- ForceUTF8
- GoodbyeMessage
- GreetingMessage
- HMacList
- HostKeyList
- KeyExchangeList
- MaxDataPort
- MinDataPort
- MonitorTransfers
- MyHostname
- MyIP
- Notification
- PasvPort
- Port
- Protocol
- Secure
- ServerName
- SFTPVersion
- Status
- StrictDataIP
- Threads
- Timeout
- UseIPv6
- Users
- Version
- VirtualFiles
- VirtualFolders
- Events
- wodFTPDNotify
- FtpUser
- FtpUsers
- VirtualFile
- VirtualFiles
- VirtualFolder
- VirtualFolders
- How to get support?
- Technical information
- Fast notifications interface
- Error list
Send method
Sends string expression to the user.
Type
NoneSyntax
- Basic
object.Send Code, Text
The Send(object,Code,Text) syntax has these parts:
The Send(object,Code,Text) syntax has these parts:
object | An expression evaluating to an object of type FtpUser. |
Code | Required. An Integer value. Holds reply code, as defined by FTP protocol specifications. |
Text | Required. A String value. Holds reply text description. |
Remarks
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.