New Method
Creates a new Ftp server.
Syntax
Sub New(name, host, port, user, password, protocol) |
Parameters
name
Type: String
The name of the server
host
Type: String
The host URL of the server
port
Type: Integer
The host port of the server
user
Type: String
The user of the host account
password
Type: Boolean
The password of the host account
protocol
Type: VSFtpProtocol
The Ftp protocol for the server
Return Value
Type: VSFtpServer
Examples
IronPython
#Create ftp server server = VSFtpServer(serverName, "ftp.brainterim.nl", 21, "brainterim", "secret", VSFtpProtocol.Ftp) |
C#
//Create ftp server VSFtpServer server = new VSFtpServer(serverName, "ftp.brainterim.nl", 21, "brainterim", "secret", VSFtpProtocol.Ftp); |
Remarks