home *** CD-ROM | disk | FTP | other *** search
- FTP-Server v01.00 beta September 1997
- ============================================================================
- A STiK/STinG FTP Server for ATARI ST/STE/TT/Falcon
-
- FTP-Server is FREEWARE. It may be copied and used freely. Distribution by
- BBSs and PD libraries is allowed. However, FTP-Server may NOT under ANY
- circumstances be included in CD-ROM collections or on magazine cover
- disks without my prior written permission. FTP-Server and its documentation
- must always remain together and complete with all its files and
- documentation. Changes to the program and documentation is forbidden.
-
- System requirements:
- --------------------
- * Atari ST/STE/TT/Falcon
- * STiK or STinG package (installed and enabled!!)
- * TOS or MagiC
-
- Installation:
- -------------
- Copy the program in any drive/folder.
- Edit the file FTPUSERS using any ASCII editor. Start the server. Ready.
- A typical FTPUSERS line:
- anonymous * d:\ftp\public 3
- | | | |
- User name | | |
- Password | |
- Users Path |
- Permissions
- Notes:
- ------
- If FTPUSERS file doesn't exist, no one can log to the server.
-
- A 'real' password is a hashed Unix password which must be processed by
- the system administrator and put in this line.
-
- Permissions is an ORed value were 1 means user has permission to READ files,
- 2 to create new files and folders and 4 to delete files an folders.
- Thus a user whith permission 3 as above, can read and create new files
- (if the file does not exist) in folders from Users Path onwards.
- With 7 a user can delete everything in this and forward folders,
- so be very CAREFULL!!
-
- No one can change drive or go to a parent path, ie 'anonymous' users are
- not allowed to go to d:\ftp from d:\ftp\public.
-
- Maximum clients allowed: 10 (at least for now).
-
- Disclaimer
- ----------
- Although every effort has been taken by the author to ensure trouble free
- operation, i can take no responsibility for any damage caused by use of
- this program, either directly or indirectly.
- This software is used at your own risk.
-
- For those who READ documentation!
- ---------------------------------
- FILE TRANSFER PROTOCOL (FTP)
- The objectives of FTP are 1) to promote sharing of files (computer
- programs and/or data), 2) to encourage indirect or implicit (via
- programs) use of remote computers, 3) to shield a user from
- variations in file storage systems among hosts, and 4) to transfer
- data reliably and efficiently. FTP, though usable directly by a user
- at a terminal, is designed mainly for use by programs.
-
- FTP at the ATARI
- FTP server has been developed on a ATARI TT running MagiC 4.02, using
- Pure C. The first tests were based on the NET distribution of Phil Karn
- (KA9Q). This package contains (among many other things) a FTP client and
- server (but far from complete).
-
- After that, ATARI clients MG-FTP and AFTP (STiK version) were tested.
- MG-FTP has problems with FTP-Server (or the other way around) and i'll
- appreciate any commends on that. (MG-FTP sends files to the server without
- problems, reads and changes directories but has problems in GETing files,
- at least after a first successfull (GET) transfer).
-
- AFTP works fine most of the time, but some times it confuses file transfer
- errors and locks (suspend unter MagiC).
- The server has been tested in single TOS (no problems).
- The server can NOT run as an ACC ( This may change in the future ).
-
- Supported commands:
- -------------------
- USER PASS QUIT TYPE RETR STOR PORT PASV LIST NLST CDUP CWD PWD DELE MKD
- RMD STRU MODE (stream only) SYST ALLO. (See RFC959 for explanations)
-
- ! Commands are converted to lower case so it doesn't matter if you give
- them in upper or lower case.
- ! Input paths are UNIX ie g:/usr/bin and converted internaly to TOS '\'.
- ! Responses to paths also UNIX.
- ! Developers wishing to write (or update) clients please consider:
- Make use of the ALLO #bytes command (as AFTP does) because it helps data
- integrity (at least until a new version of STiK/STinG).
- Also try to 'listen' to both control and data ports during a tranfer and
- abort if something goes wrong.
- FTP-Server after finishing sending the data, closes the data port and then
- replies "226 File send OK".
- ! SYST command replies "215 ATARI Type: L8 Version: 01.00", but the server
- behaves as any UNIX server.
-
- Athens Sep 14 1997
- Vassili Papathanassiou
-