home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 1 / AU_CD1.iso / internet / starterpak / !TCPIP / TCPIP_Doc / Notes / Banner next >
Text File  |  1995-02-21  |  2KB  |  75 lines

  1. Banner Files
  2. ============
  3.  
  4. The Directory "!TCPIPUser.Banner" contains startup banners for Telnet
  5. and FTP logins as follows:
  6.  
  7.     Banner.FTPanon  Message to anon FTP users
  8.     Banner.FTPpriv  Message to priv FTP users
  9.     Banner.TelnetAt Message to Telnet User when attended
  10.     Banner.TelnetUn Message to Telnet Users when unattended
  11.     
  12. All of these files recognise the string "<localtime>" on a line of its
  13. own, optionally preceded by other text.
  14.  
  15. For example:
  16.  
  17.      <localtime>
  18.  
  19. Would result in the string:
  20.  
  21.      Local time is Tue Jun 21 13:00:49 1994.
  22.  
  23. ^^^^^ 5 spaces reproduced
  24.  
  25. being sent to the remote user.
  26.  
  27. Care should be taken to ensure that such macro expansions will fit on
  28. the remainder of the line.
  29.  
  30. For telnet message files, line length should be kept to around 76 characters.
  31. For FTP message files, line length should be kept to around 72 characters to allow
  32. room for each line to be prefixed with "230-".
  33.  
  34. For FTP message files, you may wish to prefix each line with a couple of
  35. spaces  so the message appears as in the example below.
  36.  
  37. As these text file are assumed to have been created in !Edit, or !Zap,
  38. or other similar text editor with '\n' as end of line, the end of line
  39. characters are changed to "\r\n".
  40.  
  41.  
  42. Example of anon FTP messge file
  43. -------------------------------
  44.  
  45.  
  46.                   Computech's anonymous FTP Server
  47.                   ================================
  48.  
  49.    Acorn Archimedes running !TCPIP (Arc KA9Q) V2.02 (FTP Server)
  50.  
  51.    You have a reached a private FTP site connected via a 28.8K modem.
  52.  
  53.    <localtime>
  54.  
  55.    If there is anything here, you are welcome to it. Any small uploads
  56.    welcome, please upload to "incoming".
  57.  
  58.  
  59. This is sent as follows:
  60.  
  61. 230-
  62. 230-                  Computech's anonymous FTP Server
  63. 230-                  ================================
  64. 230-
  65. 230-   Acorn Archimedes running !TCPIP (Arc KA9Q) V2.00 (FTP Server)
  66. 230-
  67. 230-   You have a reached a private FTP site connected via a 14.4K modem.
  68. 230-
  69. 230-   Local time is Tue Jun 21 13:00:49 1994.
  70. 230-
  71. 230-   If there is anything here, you are welcome to it. Any small uploads
  72. 230-   welcome, please upload to "incoming".
  73. 230-
  74. 230 Logged in as anonymous, restrictions apply
  75.