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
Connected event
Fires when user connects using valid username.
Syntax
- Basic
Private Sub object_Connected(User, Action)
The Connected(object,User,Action) syntax has these parts:
The Connected(object,User,Action) syntax has these parts:
object | An expression evaluating to an object of type wodFTPD. |
User | A FtpUser object. Reference to user who connected to the server. |
Action | A FtpActions enumeration, as described in settings. When set to Deny/SilentDeny, wodFTPServer denies this action. |
Remarks
Connected event is fired when user successfully pass login stage, providing proper login/password (or certificate) information - which you already have accepted in LoginPassword or LoginCertificate events. After this event is fired, wodFTPServer is ready to serve files to the client.It is not a good idea to assume that client connected successfully after you allow his connection in above events (LoginPassword or LoginCertificate) because even if you set Action = Allow, it could be that both authentication types are required for proper login.
The settings for Action are
Constant | Value | Description |
---|---|---|
Deny | 0 | Deny execution of the action. |
Allow | 1 | Allow to execute action. |
SilentDeny | 2 | Silently deny execution of the action. |
SilentAllow | 3 | Silently allow to execute action. |