CuteFTP v4 Users GuideCustom CommandsUsers may choose from pre-defined commands or create custom commands to communicate with a server. ISPs normally distribute to all subscribers a custom commands file (COMMANDS.DAT) for their Web server. Choose Commands/Custom Commands/Help from the menu bar to see a list of commands supported by the current server.USING A PRE-DEFINED COMMAND. Select Commands/Custom Commands from the menu bar, and select a custom command from thelist.ADDING A CUSTOM COMMAND1. Select Commands/Custom Commands/Define from the menu bar. 2. Type a name identifier in the Label field. 3. Enter the command text in the Command Text field. The command text is the actual FTP command sent to the server. It can contain any character, and one or more macros. 4. Enter an optional hot key in the Hot Key field. The command can be executed using Control+Shift plus this hot key. 5. Click the Add button.COMMAND TEXT MACRO EXPRESSIONS%[ PROMPT ]. When this macro is encountered, CuteFTP displays a prompt dialog box with an input field. The user can then type any text in the input field, which will be inserted into the actual command text in place of the macro. Prompt can be any text, not containing [ ] (square brackets). It will be used as a title for the prompt dialog box.%F. This macro will be substituted by the name of the file currently selected in the remote browser. I f more than one file is selected, the command will be repeated for each file.%%. A single % character.The Show Servers Response switch specifies whether CuteFTP should display the servers response to the command. If set, a dialog box will pop up containing a command-response sequence for each command executed. The Hot Key box is a keyboard accelerator assigned to the command.COMMON COMMAND EXAMPLESSITE CHMOD %[NEW ACCESS MASK] %F: This command will prompt the user for a New Access Mask and use it for each selected file. For instance, if user enters =rwx at the prompt, and FILEA.TXT, FILEB.TXT and FILEC.TXT files are selected, the following sequence of commands will be sent to the server:SITE CHMOD =rwx FILEA.TXT SITE CHMOD =rwx FILEB.TXT SITE CHMOD =rwx FILEC.TXTSITE INDEX %[SEARCH TEXT]: This command will prompt for Search Text and send a single command to the server. For instance, if a user enters CuteFTP at the prompt, the following command will be sent to the server: SITE INDEX CuteFTP.8