|
ChatWnd::SendFile
The ChatWnd::SendFile function sends a file the current
contact in the chat window. The function fails if the chat is
connected to more than one contact.
Syntax
[boolean] SendFile(
[string] FilePath
);
Parameters
- FilePath
- [string] Path to the file to send. This must be the full
path of the file, no current directory is guaranteed.
Return Value
If the file transfer request is sent successfully, the return
value is true, else, the return value
is false. The function returns false
automatically if more than one contact is present in the chat.
Also, note that a positive return value does not guarantee that the
contact has accepted the file transfer.
This function typically fails for the following reason:
- The ChatWnd object refers to a window that has been
destroyed.
Remarks
None.
Function Information
| Object |
ChatWnd |
| Availability |
Messenger Plus! Live 4.00 |
See Also
ChatWnd Object
|