FTP Jobs: Rename Command Settings

This topic describes how to use the FTP Rename command. This command allows you to rename a single file or directory.

To Rename a File or Directory

  1. In From/To, select the Connection objects that connect to the source and destination hosts.

  2. Drag the Rename command from the left pane and drop it onto the editor in the middle.

  3. In Path, do the following:

    1. Select a Connection object. This list displays the connection objects that you have selected at the top of the editor for the source and target hosts.

      You can browse to a file or directory using the browse icon. When you click it, a pop-up dialog opens that allows you to browse to a file or directory on the host. For more information, see Browsing to Directories and Files.

    2. In Path, specify the absolute or relative paths to change.

      Note: You cannot use wildcard characters here.

    3. In To Path, specify a new file name. You can enter the new file name as either:

      • The path from the From Path field and the file name. For example, config/options_old.ini.
      • Just the new file name from the directory specified in the From Path field. For example, options_old.ini.
  4. In the Options section, if you do not want the Job to abort if this command fails, deselect Abort job on command failure.

  5. Optionally add a description of the command under Description. The text you enter here is not written to the Job report. To write a message to the Job report, use an Echo command. For more information, see FTP Jobs: Echo Command Settings.

See also: