Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

quote - Call server functions

&pagelevel(4)&pagelevel

The quote command can be used to call FTP server functions on the remote host when there is no corresponding FTP client command on the local host.

One example of this is the site exec function, which is available from the BS2000 FTP server, but for which there is no command in FTP. site exec can be used to execute any BS2000 commands on the server, provided

  • the FTAC functionality is not being used on the server

  • the site exec function has not been disabled via the server option-disableSiteExecCommand (see the “interNet Services Administrator Guide”).

Since the functions that can be called using quote depend on the server, a more detailed description cannot be offered here. The functions of the BS2000 server are described in the section “FTP servers in BS2000” (see "FTP servers in BS2000").

The functions implemented in the server can be determined by using the remotehelp command. The help command returns a list of the commands available on the local
FTP client.

quote

<argument> [<argument>] [<argument>]

The quote site setc command can be used to change the code conversion table setting on the BS2000 server. The command syntax is the same as for setcode (see "setcode - Change code tables").


Example

The remote host is a BS2000 host.

  1. The quote CWD command is used to change the directory on the remote server.

    quote CWD test

    200 ":110:$TSOS.TEST." is current directory now.

  2. The quote PWD command is used to check the current file system on the remote FTP server.

    quote PWD

    257 ":110:$TSOS.TEST." is current directory.