|
Summary
Notify number of bytes transferred.
Description
The Notify property is used to specify whether the application should receive any OnTransfer events during a file transfer operation. If the Notify property is set to True, then one or more
OnTransfer events will be fired. Otherwise, no OnTransfer events will occur.
The OnTransfer event occurs during a file based transfer of data from the local machine to a remote file or from the remote machine to a local file. The event contains the number of bytes of data
transferred between the two machines.
As the file transfer proceeds, one or more OnTransfer events will occur to deliver the number of bytes transferred so far between the FTP server and the client. The application can process this data
and display the status of the file transfer (for example, update a progress bar or text control).
This property can be changed at any time except during a file transfer operation. The default value of this property is False which means that the application will not receive the OnTransfer event.
Example
FTPClient.Notify = True
|