The Secure File Transfer Solution.
TOC PREV NEXT INDEX

Adding a Site Command


To add a new Site command

  1. In the left pane of the WS_FTP Server Manager, expand the FTP host and then select Site Commands. The Site Commands list appears.

  1. In the Site Command list, click the Add button. The first window of the Custom Site Command wizard appears.

  1. Enter the name of the site command in the text box. Click Next. The Host Command Executable screen appears.

  1. Enter the full path for the file that is to be executed when the site command is run, or select it by clicking the Browse (...) button. Click Next. The Program Arguments screen appears.
    Note: Never use server side applications (such as Notepad or Wordpad) as the executed program in a site command. Using these will display nothing for the user, but each time the command is run, a new copy of the program is opened on the server.
    Note: If using a batch file, you must enter CMD.exe in the Host Command Executable dialog. In the Program Arguments dialog, enter the full path of the batch file in quotation marks. For example: "c:\iFtpSvc\jump.bat"

  1. Enter %1-%5 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.
  2. Click Next. The Summary window appears.
    Note: If you allow user-defined variables, it is suggested to select the Send Output option on the SITE Command Properties window after you set up the command. If this is not done, only a general success or failure message will be returned to the user on the server.
  3. Review the information displayed to make sure it is correct. If the information is correct, click Finish to add the command. If the information needs to be changed, click Back to move to the window that needs to be changed.

After you set up the site command, you can add or change permissions for the command.



Ipswitch, Inc.
http://www.ipswitch.com
TOC PREV NEXT INDEX
©Ipswitch 2004