FTPACCEPT        Accept one client connection

<< Click to Display Table of Contents >>

Navigation:  Robo-FTP User's Guide > Script Programming > Script Commands > All Script Commands >

FTPACCEPT        Accept one client connection

Syntax:

FTPACCEPT

[ site ] [ /options ]

Arguments:

[ home dir ]

Variable or string defining the default home directory for logged on users. This may be overridden in either of the authentication callbacks by setting the %ftpaccept_home variable

Options:

/on_passwd=cb

Define a callback function to validate password logons of form:
FUNCTION cb username password protocol

If the function returns and error the login is denied

 

/on_keyauth=cb

Define a callback function to validate password logons of form:
FUNCTION cb username publickey protocol

If the function returns and error the login is denied

 

/sslcert="Common Name"

Specify the TLS server certificate to use from the TLS Certificates store in the Configurator

 

/sshkey="Key Name"

Specify the SSH server key to use from the SSH Keys store in the Configurator

 

/protocol=prot

SFTP, FTP, FTPS, FTPSImplicit, HTTP,or HTTPS

 

/bindaddr

IP address to listen to. Default is all addresses.

 

/timeout=n

Specifies how long without activity until a timeout occurs. A %datetime value can also be given as an argument instead of a number of seconds.

 

/minpasv

The minimum passive FTP data channel port.

 

/maxpasv

The maximum passive FTP data channel port.

 

/sslciphers=

OpenSSL cipher list. The default is
"!EXPORT:!aNULL:!ADH:!LOW:!SSLv2:MEDIUM:HIGH:@STRENGTH"

 

 

This script command allows a remote command to log on to the local machine.

 

Related command(s): FTPLOGON