edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Click or drag to resize

FTPConnectionDownloading Event

Occurs when a file is about to be downloaded from the server.

Namespace:  EnterpriseDT.Net.Ftp
Assembly:  edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntax
public virtual event FTPFileTransferEventHandler Downloading

Value

Type: EnterpriseDT.Net.FtpFTPFileTransferEventHandler
Remarks

The FTPFileTransferEventArgs argument passed to handlers has a Cancel property, that, if set to true will result in the transfer being cancelled.

If the DownloadFile(String, String) method was used to initiate the transfer then the LocalPath property may be set in order to change the path of the downloaded file.

See Also