FtpServer Property

Gets or sets the specified FTP server.

Syntax

Property FtpServer(serverName) As VSFtpServer

Parameters

serverName

Type: String

The name of the FTP server

Examples

IronPython

#Get an FTP server

myServer = Host.ScriptData.FtpServer["MyFTP"]


#Set an FTP server

server = VSFtpServer(serverName, "ftp.brainterim.nl", 21, "brainterim", "secret", VSFtpProtocol.Ftp)

Host.ScriptData.FtpServer[serverName] = server


C#

//Get an FTP server


//Set an FTP server



Remarks