README.qftp 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. qftp is a simple program which demonstrates the use of ftplib.
  2. qftp performs directories or file transfers using the ftp protocol based
  3. on the command it was invoked with and command line arguments. qftp
  4. can be invoked through a softlink which indicates which operation it
  5. should perform.
  6. To install, copy qftp to a directory in your path. Execute the following
  7. commands in that directory:
  8. ln -s qftp ftpdir
  9. ln -s qftp ftpget
  10. ln -s qftp ftpsend
  11. ln -s qftp ftprm
  12. ln -s qftp ftplist
  13. Then, invoke qftp by using the commands ftpdir, ftpget, ftpsend, ftprm or
  14. ftplist.
  15. qftp processes the command line in order. The first argument should be
  16. the name of the system you wish to converse with. If you need to specify
  17. login information, that should be specified next with '-l' and '-p'. On
  18. UNIX systems, if you specify a username with '-l' and don't specify a
  19. password with '-p', qftp will prompt for a password. It is a good idea
  20. to do it this way as it keeps the password off the command line and out
  21. of 'ps' and other displays.
  22. When working through a proxy firewall, specify the firewall machine's
  23. name as the host. Specify the real host's name with the -l and -p
  24. parameters. For example:
  25. ftpget firewall -l anonymous@real.host.com -p user@myhost.org
  26. The exit status from qftp can be used to determine whether the transfer
  27. worked or not. Exit status 2 means a command line syntax error. 3
  28. indicates a failure while attempting to translate the system name into an
  29. IP address. 4 indicates a failure attempting to connect to the remote
  30. machine. 5 indicates a login failure. 6 indicates a remote command
  31. error. 7 indicates a system call error.
  32. See the HTML documentation in the html subdirectory for more details.