You can set exit routines for the FTP client with the exit command.
You will find further details on the FTP exit routines in the “interNet Services Administrator Guide”.
exit |
[receive:<receive-selector>] [!] [send:<send-selector>] |
<receive-selector>
<receive-selector> allows you to select the required action from several actions available when receiving data. For this purpose, you supply the exit routine with a string to which <receive-selector> points. You can decide freely the meanings that are to be attached to the individual strings. Only the string *NONE" has a fixed meaning: If you specify "*NONE", the exit routine is disabled.
If you do not specify <receive-selector>, no exit routine is selected.
<send-selector>
<send-selector> allows you to select the required action from several actions available when sending data. For this purpose, you supply the exit routine with a string to which <send-selector> points. You can decide freely the meanings that are to be attached to the individual strings. Only the string *NONE" has a fixed meaning: If you specify "*NONE", the exit routine is disabled.
If you do not specify <send-selector>, no exit routine is selected.