C# 클래스 Miracle.FileZilla.Api.FileZillaApi

FileZilla server API
상속: FileZillaServerProtocol, IFileZillaApi
파일 보기 프로젝트 열기: PolarbearDK/Miracle.FileZilla.Api

공개 메소드들

메소드 설명
BanIp ( int connectionId ) : bool

Kick a connection by id, and also ban IP address.

FileZillaApi ( ) : System.Collections.Generic

Construct FileZillaApi using default IP/port

FileZillaApi ( IPAddress address, int port ) : System.Collections.Generic

Construct FileZillaApi using specific IP/port

GetAccountSettings ( ) : AccountSettings

Get account settings including all users and groups

GetConnections ( ) : List

Get list af current connections to FileZilla server

GetServerState ( ) : ServerState

Get state of FileZilla server

GetSettings ( ) : Settings

Get state of FileZilla server

Kick ( int connectionId ) : bool

Kick a connection by id.

SetAccountSettings ( AccountSettings accountSettings ) : bool

Set account settings. Note! This replaces ALL users and groups on FileZilla server.

SetServerState ( ServerState serverState ) : ServerState

Set state of FileZilla server

SetSettings ( Settings settings ) : bool

Get state of FileZilla server

메소드 상세

BanIp() 공개 메소드

Kick a connection by id, and also ban IP address.
public BanIp ( int connectionId ) : bool
connectionId int Connection Id (Use GetConnections to find ConnectionId)
리턴 bool

FileZillaApi() 공개 메소드

Construct FileZillaApi using default IP/port
public FileZillaApi ( ) : System.Collections.Generic
리턴 System.Collections.Generic

FileZillaApi() 공개 메소드

Construct FileZillaApi using specific IP/port
public FileZillaApi ( IPAddress address, int port ) : System.Collections.Generic
address System.Net.IPAddress IP address of filezilla server.
port int Admin port as specified when FileZilla server were installed
리턴 System.Collections.Generic

GetAccountSettings() 공개 메소드

Get account settings including all users and groups
public GetAccountSettings ( ) : AccountSettings
리턴 AccountSettings

GetConnections() 공개 메소드

Get list af current connections to FileZilla server
public GetConnections ( ) : List
리턴 List

GetServerState() 공개 메소드

Get state of FileZilla server
public GetServerState ( ) : ServerState
리턴 ServerState

GetSettings() 공개 메소드

Get state of FileZilla server
public GetSettings ( ) : Settings
리턴 Settings

Kick() 공개 메소드

Kick a connection by id.
public Kick ( int connectionId ) : bool
connectionId int Connection Id (Use GetConnections to find ConnectionId)
리턴 bool

SetAccountSettings() 공개 메소드

Set account settings. Note! This replaces ALL users and groups on FileZilla server.
public SetAccountSettings ( AccountSettings accountSettings ) : bool
accountSettings AccountSettings
리턴 bool

SetServerState() 공개 메소드

Set state of FileZilla server
public SetServerState ( ServerState serverState ) : ServerState
serverState ServerState The new state
리턴 ServerState

SetSettings() 공개 메소드

Get state of FileZilla server
public SetSettings ( Settings settings ) : bool
settings Settings
리턴 bool