Back to product page
- Introduction
- License agreement
- Getting Started
- Objects
- Enumerations
- wodFtpDLX
- Methods
- Abort
- About
- AppendData
- AppendFile
- AppendFileFrom
- CheckDir
- ClearCommandChannel
- Connect
- DeleteFile
- DeleteFiles
- Disconnect
- GetAttributes
- GetData
- GetDate
- GetFile
- GetFileAt
- GetFileAt64
- GetFiles
- GetSize
- ListDir
- ListNames
- LocalCRC
- LoopFiles
- MakeDir
- PutData
- PutFile
- PutFileAt
- PutFileAt64
- PutFiles
- RawReceived
- RawSend
- Refresh
- RemoteCRC
- RemoveDir
- Rename
- SetAttributes
- SetAttributes64
- Site
- Properties
- Account
- Arrange
- AscIITranslation
- Authentication
- BackColor
- Blocking
- BorderVisible
- BufferSize
- Certificate
- ClientName
- ColumnCount
- ColumnHeader
- Columns
- ColumnWidth
- Compression
- ContextMenu
- DirFormat
- DirItems
- Enabled
- Encryption
- EncryptionList
- ErrorText
- FIPS
- ForeColor
- HMacList
- Hostname
- IconView
- ItemSkip
- KeepAlive
- LastError
- ListItem
- ListParams
- LocalCertBag
- LocalPath
- Login
- MaxDataPort
- MaxTransferRate
- MinDataPort
- MyHostname
- MyIP
- Notification
- Passive
- Password
- PasvPort
- Port
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemotePath
- Resume
- SecureMethod
- ShellIcons
- SmartGet
- SmartPut
- SortItems
- SSLCipherList
- State
- StateText
- StrictHost
- TabStop
- Tag
- Timeout
- Timezone
- TransferMode
- TransferRate
- TransferTime
- UseIPv6
- UTF8Encoding
- Version
- Events
- ActionCopy
- ActionDelete
- ActionDownload
- ActionMakeDir
- ActionNewFile
- ActionPaste
- ActionProperties
- ActionRename
- ActionSelect
- AfterViewChange
- Attributes
- Attributes64
- Banner
- BeforeViewChange
- Click
- ClientCertRequired
- Connected
- CryptoInformation
- DblClick
- Disconnected
- Done
- FileTransferData
- Focus
- FTPReply
- HostCertificate
- HostFingerprint
- KeyPress
- ListItems
- LoginChallenge
- LoopError
- LoopItem
- MenuClick
- PreTranslateCommand
- PreTranslateReply
- Progress
- Progress64
- ShowContextMenu
- SiteReply
- StateChange
- Methods
- IwodFtpNotify
- DirItem
- DirItems
- How to get support?
- Technical information
- Fast notifications interface
- Error list
- How to...
RawReceived method
Puts raw data to incoming queue as it was received from the server.
Type
NoneSyntax
- Basic
object.RawReceived Data
The RawReceived(object,Data) syntax has these parts:
The RawReceived(object,Data) syntax has these parts:
object | An expression evaluating to an object of type wodFtpDLX. |
Data | Required. A String value. Any FTP response to be "injected" to wodFtpDLX engine. |
Remarks
RawReceived method can be used only with FTP style protocol - FTP and FTPS. It is used to 'inject' specific response, just as it arrived from the server. You can use it together with RawSend method, or you can use it to provide fake response from the server. For example, if you don't like some of the commands wodFtpDLX sends, you can intercept that command in PreTranslateCommand event, and then inject error response back to wodFtpDLX engine. This way wodFtpDLX will behave just as command received error, even no command was actually sent to the server. wodFtpDLX will then continue to process file transfers based on injected data. For example, you can do this - change "SIZE" command so nothing is sent, and provide 550 response instead:Private Sub Ftp1_PreTranslateCommand(Command As String)
If Left$(Command, 4) = "SIZE" Then
Command = ""
Ftp1.RawReceived "550 Invalid command" & vbCrLf
End If
End Sub