Occurs when a file upload is initiated.
The event handler receives an argument of type FileTransfer.PutFileEventArgs containing data related to this event. The following FileTransfer.PutFileEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| LocalFile | Gets a value which specifies the name of the local file. |
| RemoteFile | Gets a value which specifies the name of the remote file. |
The OnPutFile event is generated when a file transfer is initiated by calling the PutFile or PutMultipleFiles methods. This will be followed by one or more OnProgress events which will inidicate the progress of the transfer. If multiple files are being uploaded, this event will fire for each file as it is transferred.
FileTransfer Class | SocketTools Namespace