home *** CD-ROM | disk | FTP | other *** search
/ ANews 1 / AnewsCD01.iso / Internet / FTP / AmFTP / Rexx / rexx.doc < prev    next >
Text File  |  1999-08-11  |  7KB  |  151 lines

  1. AmFTP Arexx:
  2. ============
  3. V1 - overworked v1.53 Rexx Commands
  4. V2 - new implemented Rexx Commands since AmFTP Beta v1.62
  5. V3 - new since AmFTP Beta v1.64
  6. V4 - new since AmFTP Beta v1.68
  7. V5 - new since AmFTP Beta v1.71
  8. V6 - new since AmFTP Beta v1.76
  9.  
  10.  
  11. REXXPORT: AMFTP.1 / AMFTP.2 / ... (Shown in window title)
  12. ---------
  13.  
  14. Commands:
  15. ---------
  16.  
  17. CONNECT PROFILE/N        V1 Connect with server profile Nr. PROFILE.
  18.                             (See also CONNECTHOST to connect to a
  19.                             specified host, see also GETHOSTS, to get all
  20.                             profile labels)
  21.                             (asyncronous, see WAITACTION)
  22.  
  23. CONNECTHOST HOST         V2 Connects to given host. (See also CONNECT to
  24.                             connection to a stored profile entry)
  25.                             (asyncronous, see WAITACTION)
  26.  
  27. CLOSE                    V1 Closes Connection. (See also QUIT to close
  28.                             connection and quit)                    
  29.  
  30. ISCONNECTED              V1 Returns "1" in RESULT, if we're connected to
  31.                             any host.
  32.  
  33. CHANGEDIR DIR            V1 Sends changedir command to server.
  34.                             (asyncronous, see WAITACTION)
  35.  
  36. CHANGELOCALDIR DIR/F     V2 Changes the directory in the left window.
  37.                             An empty pathname ("") causes a reload of
  38.                             local directory contents.
  39.  
  40. GETDIRS VAR              V1 Fills all directory entries from the right
  41.                             listview in a STEM variable.
  42.                             Returns number of entries in RESULT.
  43.                             (See also GETFILES)
  44.  
  45. GETLOCALDIRS             V2 Fills all directory entries from the left
  46.                             listview in a STEM variable.
  47.                             Returns number of entries in RESULT.
  48.                             (See also GETLOCALFILES)
  49.  
  50. GETFILES VAR             V1 Fills all file entries from the right
  51.                             listview in a STEM variable.
  52.                             Returns number of entries in RESULT.
  53.                             (See also GETDIRS)
  54.  
  55. GETLOCALFILES VAR        V2 Fills a STEM variable with the file contents
  56.                             of the current work directory.
  57.                             (See also GETLOCADIRS)
  58.  
  59. GETSELECTED VAR          V2 Returns the selected items in the right
  60.                             window into a STEM variable.
  61.  
  62. RECEIVE FILE             V1 Receives directly file from variable.
  63.                             (See also BATCH, RECEIVEBATCH)
  64.                             (asyncronous, see WAITACTION)
  65.  
  66. BATCH FILE               V1 Marks file from variable in batch queue.
  67.                             (See also CLEARBATCH, RECEIVEBATCH)
  68.  
  69. CLEARBATCH               V2 Clears all contents of the batchwindow.
  70.                             (See also BATCH)
  71.  
  72. RECEIVEBATCH             V1 Receives batch queue from connected server.
  73.                             (See also BATCH, CLEARBATCH)
  74.                             (asyncronous, see WAITACTION)
  75.  
  76. SEND FILE                V1 Sends local file from variable to remote
  77.                             server.
  78.                             (See also RECEIVE)
  79.                             (asyncronous, see WAITACTION)
  80.  
  81. INACTION                 V2 Returns 1, when AmFTP is still in action
  82.                             (See also WAITACTION)
  83.  
  84. WAITACTION PORT          V2    Sends Msg to specified RexxMsgPort, when
  85.                             action of last command is done.
  86.                             Use just "call WAITPKT 'rexxmsgportname'" 
  87.                             from rexxsupport.library to wait.
  88.                             There is no need of a GETPKT afterwards.
  89.                             (Take a look at example rexx script how to
  90.                             use it)
  91.  
  92. LASTRC                   V6 Returns last return code from ftp server.
  93.                             Internal value is set to 0 after call, that
  94.                             it is possibe to make a difference between
  95.                             serveral equal return codes.
  96.  
  97. RAW TEXT/F               V1 Sends raw command to connected server.
  98.                             You should know, what you're doing, using
  99.                             this command. (See also rfc 959)
  100.  
  101. ICONIFY                  V2 Iconifies the userinterface. (See also
  102.                             SHOWUP)
  103.  
  104. SHOWUP                   V2 De-Iconifies the userinterface. (See also
  105.                             ICONIFIY)
  106.  
  107. QUIT                     V2 Causes the programm to close the connection
  108.                             and end. (See CLOSE to only close connection)
  109.  
  110. GETHOSTS VAR             V1 Fills all profile entry labels in a STEM-
  111.                             variable. (See also CONNECT)
  112.  
  113. NOFPROFILES              v5 Returns Number Of Profiles.
  114.  
  115. GETPROFILE PROFILE/N VAR V2 Fills the settings of the given profile in a
  116.                             STEM array.
  117.                             (See also SETPROFILE)
  118.                             (Take a look at example rexx script how to
  119.                             use it)
  120.                             The variables are:
  121.                             VAR.LABEL    Labelname
  122.                             VAR.HOST     Hostname
  123.                             VAR.PORT     Portnumber
  124.                             VAR.ADT      Aminet Download Tool-Server
  125.                             VAR.ANON     Anonymous Login?
  126.                             VAR.USERNAME Login username
  127.                             VAR.PASSWORD Login password
  128.                             VAR.DEFDIR   Default directory
  129.                             VAR.LOCALDIR Local directory
  130.                             VAR.COMPRESS Compression enabled? (V4)
  131.  
  132. SETPROFILE PROFILE/N VAR V2 Sets the profile according to the parameters
  133.                             given. (See CREATEPROFILE, GETPROFILE for use
  134.                             and parameters)
  135.                             Unset variables aren't changed in profile.
  136.                             (Take a look at example rexx script how to
  137.                             use it)
  138.  
  139. CREATEPROFILE LABEL      V2 Creates a new empty profile with given
  140.                             parameters.
  141.                             Returns the number of the created profile, to
  142.                             fill in with SETPROFILE.
  143.                             (See also GETPROFILE, SETPROFILE)
  144.                             (Take a look at example rexx script how to
  145.                             use it)
  146.  
  147. SAVEPROFILES             V3 Saves profilelist to disk.
  148.  
  149. SLEEP VAR                V4 Sets AmFTP to "sleep" mode.
  150.                             Two possible parameters: "ON" and "OFF".
  151.