The File Transfer Channel provides the following interface:
This interface provides the following properties:
and the following method:
This section describes the properties for the IConfFileTransferX interface.
HRESULT Name(
BSTR *pbstrName);
Indicates a string for the full path of the file.
Back to IConfFileTransferX Interface
HRESULT BytesTransferred(
LONG *plBytes);
Indicates the number of bytes transferred.
Back to IConfFileTransferX Interface
HRESULT TotalSize(
LONG *plBytes);
Indicates the size, in bytes, of the file.
Back to IConfFileTransferX Interface
HRESULT State(
LONG *plState);
Indicates the state of the File Transfer Channel.
CNF_FILE_COMPLETE | The file-transfer operation is completed. |
CNF_FILE_IDLE | The file-transfer operation was requested but not yet initialized. |
CNF_FILE_INITIALIZING | The file-transfer operation was requested but now initialized. |
CNF_FILE_PROGRESS | The file-transfer operation is in progress. |
Note that the CNF_FILE_COMPLETE value can represent three reasons for file-transfer operation completion: success, cancellation, or failure.
Back to IConfFileTransferX Interface
This section describes the method for the IConfFileTransferX interface.
HRESULT IsSameAs(
IConfFileTransfer *pFileTransfer,
BOOLEAN *pfSame);
Indicates whether the two File Transfer Channels represent the same file-transfer operation.
Back to IConfFileTransferX Interface
Last Updated: November 1, 1997
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.