edtFTPnet/Free - Open-source FTP component for .NET | Download
Occurs when a file is about to be downloaded from the server.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnet (in edtFTPnet.dll) Version:


public virtual event FTPFileTransferEventHandler Downloading
Visual Basic
Public Overridable Event Downloading As FTPFileTransferEventHandler
Visual C++
virtual  event FTPFileTransferEventHandler^ Downloading {
	void add (FTPFileTransferEventHandler^ value);
	void remove (FTPFileTransferEventHandler^ value);


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