Adding Protocol Rules via VBScript

  • From: "Dan Weir" <daniel.weir@xxxxxxxx>
  • To: isalist@xxxxxxxxxxxxx
  • Date: Thu, 8 Aug 2002 08:27:31 -0600

I am trying to add a protocol rule for HTTP, HTTPS, and FTP to an ISA
Server and I'm having a little problem adding FTP. The following code
executes and adds a rule for HTTP and HTTPS w/o error:

objRuleName.SpecifiedProtocols.Add "HTTP", "", 0
objRuleName.SpecifiedProtocols.Add "HTTPS", "", 0

However when I add a 3rd line for FTP ... 
objRuleName.SpecifiedProtocols.Add "FTP", "", 0

I get the following error:
"The protocol specified does not exist"

I checked the Protocol Definitions and there is a definition named "FTP"
as well as "HTTP" and "HTTPS".

Any suggestions?


Other related posts: