Catalyst File Transfer .NET

FileTransfer.OnPutFile Event

Occurs when a file upload is initiated.

[Visual Basic]
Public Event OnPutFile As OnPutFileEventHandler
[C#]
public event OnPutFileEventHandler OnPutFile;

Event Data

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.

Remarks

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.

See Also

FileTransfer Class | SocketTools Namespace