home *** CD-ROM | disk | FTP | other *** search
- OS/2 File Transfer Protocol driver 1.3 (c) 1992 by Mikael Wahlgren
- ===========================================================================
-
- This is an external file transfer protocol driver, designed to supply
- other programs with file transfer capabilities. It is specially
- designed with Os2You (OS/2 Remote Access Facility by Mikael Wahlgren)
- and the Maximus/2 BBS program in mind.
-
- This protocol driver supports the following file transfer protocols:
-
- Xmodem/ChSum
- Xmodem/CRC
- Xmodem-1K
- Ymodem (batch)
- Ymodem-G (batch)
- Zmodem (*)
- Kermit (*)
-
- (*) The Zmodem file transfer protocol is supported in combination with
- the M2Zmodem file transfer program. M2ZMODEM.EXE must be available.
-
- The Kermit file transfer protocol is supported in combination with
- the CKermit file transfer program (tested with CK5A179B release).
- CKERMIT.EXE must be available.
-
- These protocols does NOT work with Maximus/2.
-
-
-
- Possible return codes (ERRORLEVELs)
- ===================================
- ERR_NO_ERROR = 0
- ERR_OPEN_FILE = 1
- ERR_INIT_SESS = 2
- ERR_DISK_READ = 3
- ERR_DISK_WRITE = 4
- ERR_COM_READ = 5
- ERR_COM_WRITE = 6
- ERR_CANCEL = 7
- ERR_FATAL_COM = 8
- ERR_NO_DCD = 9
- ERR_LOCAL_CANCEL = 10
- ERR_TIMEOUT = 255;
-
- (these error codes are only valid for Xmodem and Ymodem family protocols.
- For return codes of Zmodem and Kermit, see the M2Zmodem and CKermit
- documentations)
-
-
- Special instructions to run the program with Os2You
- ===================================================
- This program is especially designed with Os2You in mind. The recommended
- protocol is Ymodem, which is default. To use this protocol driver with
- Os2You, just copy the files into a pathed directory and run the following
- commands:
-
- Os2FTP -sC:\Files\*.DAT (to transfer files C:\Files\*.DAT)
- Os2FTP -rC:\Download (to receive files into C:\Download directory)
-
- If you want to use another protocol, like YmodemG, the commands will look
- like:
-
- Os2FTP -YMODEMG -sC:\Files\*.DAT
- Os2FTP -YMODEMG -rC:\Download
-
-
-
- Instructions on use with BBS
- ============================
- Copy all of the distributed files into your Maximus home directory.
- To interface these protocols with the BBS (Maximus/2) you will have
- to add the following lines to your PROTOCOL.CTL file:
-
- ------------------------------- cut here -----------------------
- Protocol Ymodem
- Type Batch
-
- LogFile Ymodem%K.Log
- ControlFile Ymodem%K.Ctl
- DownloadCmd OS2FTP.Exe -nosts -s#Ymodem%K.Ctl
- UploadCmd OS2FTP.Exe -nosts -r#Ymodem%K.Ctl
- DownloadString Send %s
- UploadString Get %s
- DownloadKeyword Sent
- UploadKeyword Got
- FilenameWord 1
- DescriptWord 0
- End Protocol
-
-
- Protocol G-Ymodem
- Type Batch
-
- LogFile YmodG%K.Log
- ControlFile YmodG%K.Ctl
- DownloadCmd OS2FTP.Exe -ymodemg -nosts -s#YmodG%K.Ctl
- UploadCmd OS2FTP.Exe -ymodemg -nosts -r#YmodG%K.Ctl
- DownloadString Send %s
- UploadString Get %s
- DownloadKeyword Sent
- UploadKeyword Got
- FilenameWord 1
- DescriptWord 0
- End Protocol
-
-
- Protocol M2-Zmodem
- Type Batch
-
- LogFile M2Z%K.Log
- ControlFile M2Z%K.Ctl
- DownloadCmd OS2FTP.Exe -zmodem -s#M2Z%K.Ctl
- UploadCmd OS2FTP.Exe -zmodem -r#M2Z%K.Ctl
- DownloadString Send %s
- UploadString Get %s
- DownloadKeyword Z-Sent:
- UploadKeyword Z-Received:
- FilenameWord 1
- DescriptWord 0
- End Protocol
-
- ------------------------------- cut here -----------------------
-
- You should also ensure that the PROTOCOL.CTL file is included in
- your MAX.CTL file (i.e. ensure that the MAX.CTL file is ended with
- a line like "include PROTOCOL.CTL")
-
- The Xmodem protocols should be possible to use in this way as well, but
- I can't see the use of this.
-
- There is no guarantee that these file transfer protocols work in all
- situations. Especially the Zmodem protocol is untested for this kind
- of usage. I am not legally responsible for any harm that your system
- may suffer from, by the use of this program.
-
-
-
- Licensing information
- =====================
- If you haven't registered the Os2You/M2Zmodem/OS2FTP file transfer option,
- this program will introduce an intentional delay before transfering any
- files. Note that the Ymodem protocol used in this protocol driver is exactly
- the same driver that is built in Os2You, available via the Service functions
- menu.
-
- To register, use the included order form and specify the
- Os2You/M2Zmodem/OS2FTP item.
-
- Mikael Wahlgren