Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

rexit - Define parameters for remote exit routines

&pagelevel(4)&pagelevel

The FTP client allows you to set user-defined BS2000 FTP server exits with the rexit (remote exit) command.

You will find further details on FTP server exit routines in the “interNet Services Administrator Guide”.

rexit

[receive:<receive-selector>] [!] [send:<send-selector>]


<receive-selector>

<receive-selector> allows you to select the required action from several actions available when receiving data (from the server’s perspective). 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 strings “*” and “*NONE” have a fixed meaning:

  • If you specify "*" for <receive-selector>, the exit routine is called again with the <receive-selector> selected in the FTP server option -U. If no <receive-selector> is selected in this server option, the specification of “*” has the same meaning as “*NONE”.

  • If you specify "*NONE", the exit routine is disabled.

<send-selector>

<send-selector> allows you to select the required action from several actions available when sending data (from the server’s perspective). 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 strings “*” and “*NONE” have a fixed meaning:

  • If you specify "*" for <send-selector>, the exit routine is called again with the <send-selector> selected in the FTP server option -U. If no <send-selector> is selected in this server option, the specification of “*” has the same meaning as “*NONE”.

  • If you specify “*NONE”, the exit routine is disabled.