Protocol Property

The protocol of an Ftp server.

Syntax

Property Protocol As VSFtpProtocol

Parameters

None

Examples

IronPython

#Get ftp server protocol
myProtocol = Host.ScriptData.FtpServer["myServer"].Protocol

#Set ftp server protocol
Host.ScriptData.FtpServer["myServer"].Protocol = VSFtpProtocol.Ftps


C#

//Get ftp server protocol
VSFtpProtocol myProtocol = ScriptData.FtpServers["myServer"].Protocol;

//Set ftp server protocol
ScriptData.FtpServers["myServer"].Protocol = VSFtpProtocol.Ftps;

Remarks