|
|
1.1 ! root 1: % run this through LaTeX with the appropriate wrapper ! 2: ! 3: \chapter {FTAM-FTP gateway}\label{ftamftp} ! 4: The FTAM/FTP gateway is an application-gateway for file service. ! 5: The gateway is actually two programs: ! 6: one which acts as an FTAM responder and an FTP client, ! 7: and the other which acts as an FTP server and an FTAM initiator. ! 8: Note that the gateway currently resides on a different location than the ! 9: standard FTAM responder and FTP server. ! 10: ! 11: The implementation included runs only on Berkeley \unix/. ! 12: ! 13: \section {Implementation}\label{ftamftp:code} ! 14: If you have access to the source tree for this release, ! 15: the directories \file{ftam-ftp/} and \file{ftp-ftam/} ! 16: contains the code for the two programs. ! 17: ! 18: \subsection {The FTAM/FTP side} ! 19: The FTAM/FTP side of the gateway appears to implement the responder side of ! 20: the FTAM service, ! 21: but actually acts as an FTP client in order to provide this service. ! 22: ! 23: The true destination is encoded in the user name (i.e., \verb"user@tcphost"). ! 24: ! 25: Note that the FTAM/FTP side is available on a different presentation address ! 26: than the FTAM service on the gateway host. ! 27: To select the FTAM/FTP side, ! 28: tell your FTAM initiator to associate with the service having ``qualifier'' ! 29: \verb"ftpstore" on the gateway host. ! 30: For example, using \man ftam(1c): ! 31: \begin{quote}\small\begin{verbatim} ! 32: % ftam ! 33: ftam> set qualifier ftpstore ! 34: ftam> open gateway ! 35: user (gateway:user): user@tcphost ! 36: password (gateway:user@tcphost): ! 37: \end{verbatim}\end{quote} ! 38: ! 39: \subsubsection {Limitations} ! 40: File information is limited to file names. ! 41: All file access rights are assumed until access is attempted; ! 42: the FTP server of the utlimate destination grants or denies action permission ! 43: at the time of file access. ! 44: ! 45: Empty directories may not be recognized depending on the FTP server of the ! 46: destination machine. ! 47: This bug manifests itself when trying to remove an empty directory. ! 48: ! 49: \subsection {The FTP/FTAM side} ! 50: The FTP/FTAM side of the gateways appears to be an FTP server, ! 51: but actually acts as an FTAM initiator in order to provide this service. ! 52: ! 53: The true destination is encoded in the user name (i.e., \verb"user@osihost"), ! 54: or by using the FTP SITE command. ! 55: If further accounting information is required by the true destnation, ! 56: the FTP ACCT command is used seperately and the SITE command must be used to ! 57: specify the destination. ! 58: ! 59: Note that the FTP/FTAM side is available on a different port than the FTP ! 60: server on the gateway host. ! 61: To select the FTP/FTAM side, ! 62: tell your FTP client to connect to port 531 on the gateway host. ! 63: For example, using \man ftp(1c): ! 64: \begin{quote}\small\begin{verbatim} ! 65: % ftp ! 66: ftp> open gateway 531 ! 67: ftp> open gateway ! 68: Name (gateway:user): user@osihost ! 69: Password: ! 70: \end{verbatim}\end{quote} ! 71: ! 72: \subsubsection {Limitations} ! 73: The FTP CD and PWD commands are not supported by the gateway ! 74: (there is no equivalent in the FTAM service and it is too difficult to emulate ! 75: at the gateway.)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.