Back to product page
- Introduction
- License agreement
- Getting Started
- Enumerations
- Objects
- wodTelnetDLX
- Methods
- Properties
- Authentication
- AutoSize
- BackColor
- BackLog
- BindIP
- BindPort
- Blocking
- BorderVisible
- Certificate
- CharEncoding
- Column
- Columns
- ColWidth
- Command
- ContextMenu
- CursorHeight
- DataOut
- DataReady
- Enabled
- ErrorText
- ExitSignal
- ExitStatus
- Font
- ForeColor
- HandleSysKeys
- Hostname
- hWnd
- KeepAlives
- Language
- LastError
- LocalCertBag
- Login
- MousePointer
- MouseWheel
- MyHostname
- MyIP
- Notification
- Password
- Picture
- Port
- Prompt
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RecordMode
- RemoteIdentification
- Row
- RowHeight
- Rows
- ScrollBars
- ScrollX
- ScrollY
- SecureMethod
- SelectedText
- ShowCursor
- Socket
- SpecialKeyFocus
- State
- StateText
- StripANSI
- StripColors
- TabStop
- TelnetOption
- TerminalEmulation
- TerminalType
- Text
- Timeout
- TranslateSpecial
- UseIPv6
- Version
- Events
- IwodTelnetNotify
- wodTelnetDLX
- How to get support?
- Technical information
- Fast notifications interface
- Error list
TransferProgress callback method
Called during file transfer.
Syntax
- Basic
object.TransferProgress (Owner, Position, Total)
The TransferProgress(object,Owner,Position,Total) syntax has these parts:
The TransferProgress(object,Owner,Position,Total) syntax has these parts:
object | An expression evaluating to an object of type IwodTelnetNotify |
Owner | An expression evaluating to an object of type wodTelnetDLX |
Position | A Long value. Current transfer position. |
Total | A Long value. Total number of bytes that will be transferred. |
Remarks
NOTE: This method is called only if you implemented IwodTelnetNotify interface in your application, and wodTelnet.Notification property has received reference to instance of your implementation.TransferProgress notification method is called as progress indicator during the transfer initiated by SendFile/ReceiveFile methods. It will usually be called more than once, on variable positions. ZMODEM protocol, for example, sends different packet lengths depending on line speed and quality - and you cannot change these lengths.
It is possible that Position reverts back during the transfer - this happens if remote side didn't correctly receive our blindly sent packets, and we need to resend file from certain position.
When transfer finishes, TransferEnd notification method will be called. Same rules apply when file is being received.