Answered by:
"Not supported" Office Communicator API

Question
-
Hi friends,
I'm investigating Office Communicator API and I found the feature I need about SendFile() is not supported: http://msdn.microsoft.com/en-us/library/bb758752%28v=office.12%29.aspx
Anyone knows why this is not supported? My purpose of knowing this is to find a way to intercept the file user tries to send, so that I can scan the files before it is sent out.BTW, is there anyway to write an add-in, which actually means load my own code into Communicator process just like the way we write Word/Outlook add-ins?
Thanks.
EaTing ShanTuesday, September 28, 2010 2:37 AM
Answers
-
The send file is not supported in the OC automation API it's a "left over" from the Window's Messenger days. Are you concerned about a virus in the file or about the content? There is some protection in the send file processing in that the client will block files with one of the extensions on the blocked list that IE uses. You can also use Group Policy settings to have OC disable file transfer completely. I think that you can also filter the file transfer requests on the server.
There is no plug in model for OC that will allow you to write code that runs in the OC process.
Oscar Newkerk Oscarnew Consulting- Proposed as answer by Oscarn Wednesday, September 29, 2010 8:52 PM
- Marked as answer by EaTing Shan Thursday, September 30, 2010 1:21 AM
Wednesday, September 29, 2010 8:52 PM
All replies
-
The send file is not supported in the OC automation API it's a "left over" from the Window's Messenger days. Are you concerned about a virus in the file or about the content? There is some protection in the send file processing in that the client will block files with one of the extensions on the blocked list that IE uses. You can also use Group Policy settings to have OC disable file transfer completely. I think that you can also filter the file transfer requests on the server.
There is no plug in model for OC that will allow you to write code that runs in the OC process.
Oscar Newkerk Oscarnew Consulting- Proposed as answer by Oscarn Wednesday, September 29, 2010 8:52 PM
- Marked as answer by EaTing Shan Thursday, September 30, 2010 1:21 AM
Wednesday, September 29, 2010 8:52 PM -
Hi Oscarn,
Thanks for the answer. This resolved a lot. Our firm actually need a more detailed scan for the files that we need a very customized code to do the job, so a add-in or intercept the file-send API is very necessary to accomplish the goal. It's really a pity OC has very limited extension ability. :(
Thanks.
EaTing ShanThursday, September 30, 2010 1:26 AM -
I totally agree with EaTing regarding a plug-in model. I am dying to write an extension that would reject all conversations initiated with just "Hi" or "Hello". A plug-in model would be a great feature to add for the next version.Wednesday, December 1, 2010 8:12 PM