When using mdir, mget, mls, mput and mdelete, multiple file operations can be executed with a single call. If prompting is enabled, you will be asked before each file operation whether you really want the operation executed. The prompt command enables or disables prompting. If prompting is enabled, it is disabled by the prompt command, and vice versa. On starting FTP, prompting is enabled by default. The current setting of the prompt option can be determined with the status command.
prompt |
If prompting is enabled, the possible responses to the prompts are as follows:
y n | The action is executed. The action is not executed. The command is not aborted, but continues with the next subaction. |
q | The action is not executed. The entire command is aborted. |
Inputs other than n or q are interpreted as y.
Example
See the mdelete command on "mdelete - Delete multiple remote files".