Create SITE Command

How to get here

This page is used to create a new SITE command on the current host.

  • Command. Enter a name for this command. This is the name users must issue to use this command.
  • Executable. Enter or browse to select the executable file that should be triggered when a user issues this command.
    Note: Executables are separate programs that WS_FTP Server runs for you under certain conditions. Depending on the volume of traffic on your server and the number of times an executable is run, these programs may consume considerable resources and may cause performance issues.
  • Parameters. Enter any arguments to pass to the executable when the command is triggered. Enter %1-%9 for the allowed number of user-defined variables, as well as any command line arguments that are to be used when the command is executed. Spaces are delimiters for arguments, so a single argument with a space will be treated as two, unless the entire argument is in quotation marks.
  • Send output to client. Select this option to return the output of the executable and parameters to the user's client.
  • Users / Groups. This list contains all of the users and user groups on this host. Select the users and groups you want to allow to execute this SITE command (based on your selection above) by clicking the checkbox next to user or user group name.
Note: SITE commands are only valid over an FTP connection. SSH/SFTP connections cannot issue SITE commands.