The FTPFileTransferEventArgs type exposes the following members.

Properties

  NameDescription
Public propertyAppend
Indicates whether or not data was appended to the remote file.
Public propertyAppended Obsolete.
Indicates whether or not data was appended to the remote file.
Public propertyBytes
Reference to byte-array if LocalDataType is ByteArray.
Public propertyBytesTransferred
Number of bytes transferred.
Public propertyCancel
Cancel transfer.
(Overrides FTPCancelableEventArgs..::..Cancel.)
Public propertyConnectionInstanceNumber
Identifies the pooled connection on which the task is running.
(Inherited from FTPEventArgs.)
Public propertyException
The exception thrown if a transfer failed.
(Inherited from FTPCancelableEventArgs.)
Public propertyFileSize Obsolete.
Size of remote file (see remarks)
Public propertyIsGuiThread
Indicates whether or not the event-handler has been invoked on the GUI thread.
(Inherited from FTPEventArgs.)
Public propertyLastWriteTime
Last write-time of the file.
Public propertyLocalDataType
Type of local data source/destination.
Public propertyLocalDirectory
Name of the local directory (not including file-name).
Public propertyLocalFile
Name of the local file (without path).
Public propertyLocalFileSize
Size of local file (see remarks).
Public propertyLocalPath
Path of local file if LocalDataType is File.
Public propertyRemoteDirectory
Full path of remote directory.
Public propertyRemoteFile
Name of remote file as passed into the method that initiated the transfer.
Public propertyRemoteFileName
Name of remote file without the path.
Public propertyRemoteFileSize
Size of remote file (see remarks)
Public propertyRemotePath
Full path of remote file.
Public propertyResume
Indicates whether or not this tranfer should be resumed.
Public propertyStream
Reference to Stream if LocalDataType is Stream.
Public propertySucceeded
Indicates whether or not the transfer succeeded.
(Inherited from FTPCancelableEventArgs.)
Public propertyTaskID
Identifies the asynchronous operation within which the event was triggered (applies to asynchronous methods only).
(Inherited from FTPEventArgs.)

See Also