Documentation ¶
Index ¶
Constants ¶
View Source
const ( DataCnxAlreadyOpenStartXfr = "125 Data connection already open, starting transfer\r\n" TypeSetOk = "200 Type set ok\r\n" PortOk = "200 PORT ok\r\n" FeatResponse = "211-Features:\r\n FEAT\r\n MDTM\r\n PASV\r\n SIZE\r\n TYPE A;I\r\n211 End\r\n" SysType = "215 UNIX Type: L8\r\n" GoodbyeMsg = "221 Goodbye!\r\n" TxfrCompleteOk = "226 Data transfer complete\r\n" CmdOk = "200 Command ok\r\n" EnteringPasvMode = "227 Entering Passive Mode (%s)\r\n" PwdResponse = "257 \"/\"\r\n" FtpServerReady = "220 ProFTPD 1.3.1 Server (Debian)\r\n" UsrLoggedInProceed = "230 Welcome to the FTP Server\r\n" UsrNameOkNeedPass = "331 Username OK Need Pass\r\n" SyntaxErr = "500 Syntax Error\r\n" CmdNotImplmntd = "502 Command not implemented\r\n" NotLoggedIn = "530 Not Logged In\r\n" AuthFailure = "530 Auth Failure\r\n" AuthFailureTryAgain = "530 Please login with USER and PASS." AnonUserDenied = "550 Anon User Denied\r\n" )
Variables ¶
This section is empty.
Functions ¶
func CommandReceiver ¶
func CommandReceiver()
func LoginReceiver ¶
Types ¶
type AuthUser ¶
type AuthUser struct {
// contains filtered or unexported fields
}
func (*AuthUser) Authenticate ¶
func (user *AuthUser) Authenticate()
type ConnectionConfig ¶
type LoginDetails ¶
Click to show internal directories.
Click to hide internal directories.