
     ftp.ttp

     version 0.2

     baldrick@netset.com

     Very rudimentary TOS ftp client.  Performs fairly well.


     Usage:  ftp <site> [-p port][-s send buffer][-b send block size]

          site is necessary for use.
          port is optional and is for using an ftp port other than the default.
          send buffer is optional and is sometimes very handy for speed increase in
               transfers, ie if you are sending something and set it to a high value
               it will read more of the file into memory at once. 8-16k is probably 
               about as good a value as you will get.
          send block size is optional and is how large a block you will send.  Larger not
               necessarily better as very large blocks will get fragmented over several
               packets.

     Notes:

     I use it under vt52 in Magic all the time. (used to I now run under Mint as I'm debugging
     so other programs, so it definately is working under Mint now, hopefully still under Magic)

     To get help on what the commands are, connect to a site ala

     ftp ftp.lip6.fr

     once connected type help

     If you are running from an AES that passes parameters at TTP launch, then you can
     omit the initial ftp. ie just type ftp.lip6.fr

     Known Major Limitations:

          Only a limited set of commands supported.  No Mget or Mput command functions.

     Commands available for use:

     ascii          - Set transfer mode to ASCII (*only for text files etc)
     binary         - Set transfer mode to Binary (* use for binary files)
     cd <directory> - Changes current remote directory to <directory>
     cdup           - Go up a directory on the remote directory tree
     del <filename> - Delete a remote file
     dir <args>     - Gets a remote diretory listing
                         <args> are the standard arguments
                              -l for long listing
                              -r for reverse sorting
                              -t for time sorting
               
                              so dir -rt would return the files in the directory with the
                              oldest files listed first and the newest files at the end of 
                              the list
     get <filename> - Retrieve a remote file to your machine
     hash           - Display a '#' for every block sent or received
     help           - Display list of current commands available
     lcd <directory>- Changes the current working directory on local machine
                         this is the path uploads and downloads will be by default
     list           - Gets a remote directory listing (see dir above)
     ls             - Gets a remote directory listing (see dir above)
     put <filename> - Stores 'filename' on remote machine
     pwd            - Displays current directory on the remote machine
     quit           - Closes ftp session and exits
     rename <file1>,
          <file2>   - Renames file1 to file2
     rm <filename>  - Deletes remove file <filename>
     syst           - Display the Remote systems type
     user           - Send username
     view <filename>- view file <filename> on remote system
     

     This is a beta project.  Use it at your own risk.  No guarantees or waranties are implied
or expressed.

     Dan

     aka baldrick@netset.com
