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.
[boolean] SendFile( [string] FilePath );
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:
None.
Object | ChatWnd |
---|---|
Availability | Messenger Plus! Live 4.00 |