ServerProtocol
Specifies the protocol of a server.
Fields
Local |
0 |
Local file system |
FTP |
1 |
FTP protocol |
SFTP |
2 |
SFTP protocol |
WingWeb |
3 |
Wing web client protocol |
DropBox |
4 |
DropBox |
GoogleDrive |
5 |
Google drive |
OneDrive |
6 |
Microsoft OneDrive |
AmazonS3 |
7 |
Amazon Simple Storage Service |
Examples
// Create a server use DropBox protocol Server dropbox_server = new Server { Protocol = ServerProtocol.DropBox }; //Connect to dropbox server Site.Connect(dropbox_server); // Create a server use SFTP protocol Server demo_server = new Server { Protocol = ServerProtocol.SFTP, Host = "demo.wftpserver.com", Port =2222, Username = "demo", Password = "demo" }; //Connect to "demo.wftpserver.com" server via SFTP protocol Site.Connect(demo_server); |
See Also
Created with the Personal Edition of HelpNDoc: Benefits of a Help Authoring Tool