home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Aktief 1995 #3 / CDA3.iso / comm / ts3m.zip / XM.TXT < prev   
Text File  |  1995-03-09  |  18KB  |  458 lines

  1.  
  2.          TeleShare DOS  Remote Access  XM or XMODEM     Page 1
  3.  
  4.  
  5.           Updated:  December, 1994
  6.  
  7.           This Product is Shareware, if you continue to use it
  8.  
  9.           Please Legalise your usage through Registration.
  10.  
  11.  
  12.                         _______
  13.                    ____|__     |               (R)
  14.                 --|       |    |-------------------
  15.                   |   ____|__  |  Association of
  16.                   |  |       |_|  Shareware
  17.                   |__|   o   |    Professionals
  18.                 -----|   |   |---------------------
  19.                      |___|___|    Member
  20.  
  21.  
  22.  
  23.  
  24.           Table of Contents
  25.  
  26.  
  27.             1. File Transfer
  28.             2. Automatic File Transfer
  29.             3. Creating Batch File(s) for Automatic Transfer(s)
  30.  
  31.  
  32.           FILE TRANSFER
  33.  
  34.           TeleShare primarily uses a stand-alone DOS program called
  35.           XM.EXE (indicating the XModem protocol) to perform file
  36.           transfers.  This is in keeping with maintaining a small memory
  37.           footprint in the PCs' limited available RAM.  You can also use
  38.           other external file transfer programs as described elsewhere
  39.           in this distribution.
  40.  
  41.           XM.EXE is run from the DOS command line and runs as dependent
  42.           child process of the TeleShare Host/Remote modules.  XM.EXE
  43.           will ONLY transfer files between 2 TeleShare systems.  It is
  44.           written specifically to get along with the TeleShare TSR's.
  45.           It is small, simple, reliable, and uses the most widely used
  46.           file transfer protocol to get the job done with minimal fuss.
  47.           You can use DSZ, PCZ, and HYDRA with TeleShare if you wish.
  48.           They provide a variety of external protocols.
  49.  
  50.  
  51.           Using XM.EXE, with the XModem protocol, is akin to the DOS
  52.           COPY command but differs in important ways as follows:
  53.  
  54.           Let's say that you are using TeleShare on two PCs and would
  55.  
  56.  
  57.  
  58.  
  59.          TeleShare DOS  Remote Access  XM or XMODEM     Page 2
  60.  
  61.           like to transfer a file called RESULTS.TXT from the Host PC to
  62.           your local machine.
  63.  
  64.  
  65.           1. While accessing the REMOTE HOST change to the area on that
  66.           machine where XM.EXE is located.  This is not necessary if
  67.           XM.EXE is in a sub-directory listed in the current PATH or
  68.           environment statement(s) on the HOST PC where the system can
  69.           easily find it for you.
  70.  
  71.           2. Enter 'XM S RESULTS.TXT' at the DOS prompt. Add any PATH
  72.           characters necessary if RESULTS.TXT is not in the default
  73.           sub-directory.  If XM.EXE is in the \TELE subdirectory, you
  74.           can use '\TELE\XM S RESULTS.TXT' The 'S' stands for 'SEND'.
  75.  
  76.           3. If the file is found then the screen will clear and you
  77.           will be informed that you have a certain amount of time to
  78.           exit to your LOCAL DOS and run your own XM.EXE to receive the
  79.           file.
  80.  
  81.           4. When the message appears that the HOST is ready to SEND
  82.           press ALT-L ( or whatever you have set the hotkey to) and exit
  83.           to your own local DOS.  Change to the area on your LOCAL PC
  84.           where XM.EXE is located and enter 'XM R'.  This will allow the
  85.           file to be RECEIVED into the default sub-directory with the
  86.           same name as the file being sent. (You can change the name
  87.           during the transfer.  See below).
  88.  
  89.           5. The Transfer progress screen will appear and show the
  90.           progress of the file transfer.  Once back at your own local
  91.           DOS prompt when the transfer is finished.
  92.  
  93.           6. When the transfer is completed then simply press ALT-R ( or
  94.           whatever you have set the hotkey to ) and return to the REMOTE
  95.           HOST session.  You will see the same transfer screen you saw
  96.           locally on the REMOTE HOST.  It will say 'SEND' instead of
  97.           'RECV' in the upper left corner of the screen.  This allows
  98.           you to discover what the other side had to say about the
  99.           progress of the transfer (just in case gremlins attacked).
  100.           Simply clear the screen (CLS) and continue your session
  101.           normally.
  102.  
  103.  
  104.           How to use the XM.EXE Command format
  105.  
  106.           XM [R or S] [ somefile ] [@filelist]
  107.  
  108.           XM This is the transfer program itself, unless you have
  109.           renamed it.
  110.  
  111.           R or S The first parameter should be 'S' if XM is to SEND
  112.  
  113.  
  114.  
  115.  
  116.          TeleShare DOS  Remote Access  XM or XMODEM     Page 3
  117.  
  118.           files.  The first parameter should be 'R' if XM is to RECEIVE
  119.           files.
  120.  
  121.           somefile File(s) to be transferred.  Wildcards are OK when 'S'
  122.           is used to SEND files.  '*.DBF' is a wildcard for all the
  123.           dBase files ending in .DBF in the current directory.
  124.  
  125.           @filelist The @filelist is a response file containing a list
  126.           of files to be transferred in the following file format:
  127.  
  128.           anyfile
  129.           C:\SOMEDIR\FILE1
  130.           C:\OTHERDIR\FILE2
  131.           D:\DOS\OTHER\FILE3 # a comment
  132.           ; another comment
  133.  
  134.           You will notice that there is one file per line, and that the
  135.           format is simple enough for various kinds of software to be
  136.           programmed to produce such a file for your specific needs.
  137.           You can include blank lines and add comments with a ;  or a #
  138.           symbol to the left of any comment.  The @ can be used in place
  139.           of the 'S', as in "XM @filelist".  Such a filelist can be of
  140.           any length, and is a good way to backup or update specific
  141.           files to another (off-site) location for security.  However,
  142.           you should consider using an archiver like lha or pkzip if you
  143.           need to minimise transfer times and/or add security.  Other
  144.           Teleshare tools produce files with this format, and some add
  145.           commands such as [transfer],[copy], [move], and [erase].  The
  146.           lines following a [transfer] command are for file transfer to
  147.           another computer.  Normally, xm will bypass portions of a
  148.           response file that are not for file transfer.  You can create
  149.           such files for use with the GATHER program, and gather will
  150.           automatically follow the commands and will pass them to XM
  151.           when the [transfer] is included.
  152.  
  153.  
  154.           If you are RECEIVING files then this parameter is optional.
  155.           You can simply enter 'XM R' and all files will be received
  156.           using the SAME name as the one sent.  This works whether it's
  157.           1 or 100 files being sent.
  158.  
  159.           If you are RECEIVING one file only and you wish to change its
  160.           name on your side then go ahead and enter the desired
  161.           new_filename after the 'R' parameter.  When the name arrives
  162.           from the HOST the transfer box will tell you that it's
  163.           'Receiving ORIGINAL_NAME as NEW_NAME'.  'NEW_NAME' will appear
  164.           in your local directory.
  165.  
  166.           If you are receiving more than 1 file then you cannot enter an
  167.           alternate filename after the 'R' parameter.  You must receive
  168.           ALL the files using the names sent.
  169.  
  170.  
  171.  
  172.  
  173.          TeleShare DOS  Remote Access  XM or XMODEM     Page 4
  174.  
  175.           Some important reminders...
  176.  
  177.           - You MUST separate the XM parameters with SPACES, so
  178.           it will not become confused trying to find 'Ssomefile'
  179.           when it should just be using the Send command to send
  180.           the 'somefile'.
  181.  
  182.           - You cannot enter a LIST of different filenames
  183.           one after the other in this version.
  184.           Groups of files can only be sent if they can be
  185.           distinguished with any normal DOS wildcard
  186.           directory command.  Use a response file.
  187.  
  188.           - If your LOG files option is ON then the progress
  189.           and results of each 'XM' request will be appended
  190.           to either XMSEND.LOG or XMRECV.LOG.
  191.  
  192.           - You cannot access the remote PC while transferring
  193.           files.  XM is a stand-alon