home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 035 / ncftpb4.zip / ncftp.faq < prev    next >
Text File  |  1994-11-16  |  13KB  |  274 lines

  1. Here are some answers to frequently asked questions about NcFTP.  I get
  2. a lot of mail about the program, and since I don't have time to answer
  3. personally to most mail, you might get this file in return.  (But don't
  4. be fooled;  I love getting mail!  I just don't like replying to all of it...)
  5.  
  6. Here are the questions.  Changes since the original have the date after
  7. the question.  Grep ahead to get to the one you want:
  8.  
  9. 01.  I've heard about your ncftp program.  Where can I get it?
  10. 02.  Is NcFTP free?
  11. 03.  What are .gz and .tgz files?  'compress' barfs when I try it on these.
  12. 04.  I can't download from your FTP directory, permissions are -rw-------..
  13. 05.  I don't have gzip installed on my system.  Will you mail it to me?
  14. 06.  I only have FTP access during business hrs. Will you mail it to me?
  15. 07.  I don't have an FTP program, will you mail ncftp to me?
  16. 08.  I have the source code, but how do I compile it?
  17. 09.  I have ncftp, but I can't get it to compile.
  18. 10.  I've hacked ncftp a bit.  Do you want me to mail you a patch file?
  19. 11.  When can I expect the new version you keep mentioning?
  20. 12.  How about adding remote filename completion?
  21. 13.  How about adding reget?
  22. 14.  How can I get more sites in my .ncrecent file?  (July 3)
  23. 15.  NcFTP is so good I feel I have to give you something.  Where do I send?
  24. 16.  What can I do to help you out with NcFTP?
  25. 17.  I'm having problems with ncftp for Linux when using term.
  26. 18.  Do you mind if I put up ncftp for anonymous FTP?
  27. 19.  Can I sell the source code or executables of NcFTP for profit?  (Aug 6)
  28. 20.  What does NCEMRSoft stand for?
  29. 21.  Do you mind if I write an article about ncftp?
  30. 22.  Does ncftp have a command-line editor and history facility?
  31. 23.  Can I use colon-mode with put?  (July 3)
  32. 24.  When I try to compile with GNU readline I get link errors.  (July 3)
  33. 25.  I don't want progress reports when ncftp's in the background.  (July 3)
  34. 26.  Does NcFTP have any security holes? (July 17)
  35. 27.  Has NcFTP been ported to VMS/Windows/OS2/Mac/Amiga? (July 22)
  36. 28.  How come aborting doesn't work consistently? (August 6)
  37.  
  38. 01.  I've heard about your ncftp program.  Where can I get it?
  39.  
  40.      Come on over to cse.unl.edu, and look in the /pub/mgleason/ncftp
  41.      directory.  You can FTP the latest distribution from there.
  42.  
  43. 02.  Is NcFTP free?
  44.  
  45.      Yes!  Feel free to use the program at school, work, whatever.  My
  46.      goal is to have ncftp come standard with OS releases.  All you need
  47.      to do is install it or bug your sysadmin to install it for you.
  48.  
  49. 03.  What are .gz and .tgz files?  'compress' barfs when I try it on these.
  50.  
  51.      Most stuff in my FTP area are compressed using the gzip program from
  52.      GNU. Because we are low on disk space on this machine, I feel I
  53.      should make every effort to use as little as possible.  So you
  54.      need the gunzip program compiled to unmangle stuff in my FTP area.
  55.  
  56.      The most current version will be at the GNU archives at
  57.      prep.ai.mit.edu:/pub/gnu, but I keep a copy of it in /pub/mgleason.
  58.  
  59.      Once you have gunzip installed on your system, you can use it along
  60.      with tar to get the ncftp sources in C-compiler readable form.
  61.      I like to do .tgz's and .tar.gz's (which are the same) in one line:
  62.  
  63.          gunzip -c ncftp.tgz | tar xvof -
  64.          (You may have to omit the 'o' from 'xvof')
  65.  
  66.      For plain .gz files, all you need to do is:
  67.  
  68.          gunzip the.gz
  69.  
  70. 04.  I can't download from your FTP directory, permissions are -rw-------..
  71.  
  72.      A lot of people use this machine for work, so I want to discourage
  73.      FTP connections during the work day.  I have a cron task turn
  74.      permissions off at 9 AM and on again at 5 PM.  Sometimes cron
  75.      doesn't do it's job, so permissions stay turned off.  If this
  76.      happens send me mail (to mgleason@cse.unl.edu).  Usually when this
  77.      happens my mailbox is flooded with these types of messages, but
  78.      that's fine.  I will turn on the permissions manually as soon as
  79.      I find out.  You won't get a reply, so just try back later.
  80.  
  81. 05.  I don't have gzip installed on my system.  Will you mail it to me?
  82. 06.  I only have FTP access during business hrs. Will you mail it to me?
  83. 07.  I don't have an FTP program, will you mail ncftp to me?
  84.  
  85.      I don't really like to mail out the program, but I will do it on a
  86.      limited basis.  For (05) I will mail you a copy, but you have to
  87.      promise you'll make every effort to get gzip installed on your
  88.      system (it IS worth it!).   For (06) I will do it once, but next time
  89.      you have to setup an 'at' job.  Here's a cool Korn shell script
  90.      that will get the latest version:
  91.  
  92. #!/bin/ksh
  93. # getncftp -- Korn shell script to fetch the latest version of ncftp
  94. # at a random time between 1 and 5 am.  Doesn't take into account
  95. # your timezone, so if 1 to 5 am isn't within 9am-5pm USA Central time...
  96.  
  97. (( hr = ($RANDOM % 4) + 1 ))
  98. (( min = $RANDOM % 60 ))
  99.  
  100. echo "Fetching at: $hr:$min..."
  101.  
  102. at $hr:$min am <<!
  103. cd $PWD
  104. ncftp -V -1 cse.unl.edu:/pub/mgleason/ncftp/ncftp.tgz
  105. !
  106.  
  107.      For (07) I will mail you a copy, but I haven't heard of any
  108.      OS's that don't have 'ftp' at least.
  109.  
  110. 08.  I have the source code, but how do I compile it?
  111.  
  112.      Just type 'make'.  That program reads the Makefile, and tries to
  113.      compile it.
  114.  
  115. 09.  I have ncftp, but I can't get it to compile.
  116.  
  117.      Please re-read the README for special instructions on what to do
  118.      with what systems.  If you're a novice and don't know how to fix
  119.      things still, consult a local guru or demand that your sysadmin
  120.      install it for you.  I don't have time to show you how to work
  121.      with Makefiles and C compilers.  But if you do know what you're
  122.      doing, and it won't compile, let me know.
  123.  
  124. 10.  I've hacked ncftp a bit.  Do you want me to mail you a patch file?
  125.  
  126.      Sure.  I can't guarantee that I'll apply it right away or at all,
  127.      but it can't hurt.  Patches that improve portability or fix bugs
  128.      will most likely be applied right away.  Feature enhancements
  129.      may not, because I'm working on a new version.
  130.  
  131. 11.  When can I expect the new version you keep mentioning?
  132. 12.  How about adding remote filename completion?
  133. 13.  How about adding reget?
  134.  
  135.      Please see the NcFTP-News file(s), in the FTP area.  They detail
  136.      my plans for the next version, 2.0.
  137.  
  138. 14.  How can I get more sites in my .ncrecent file?
  139.  
  140.      There is no program variable for this, so you have to recompile
  141.      version 1.7.x and below with -DdMAXRECENTS=37, if you wanted the
  142.      limit to be 37.
  143.  
  144.      However, as of 1.8.0, I added a quick hack that makes the limit 50
  145.      instead of 16.  The original reasoning for 16 was that if you had
  146.      sites in your .ncftprc, the open menu would scroll off screen.  To
  147.      get around that problem, the open menu is now fed to your pager.
  148.  
  149. 15.  NcFTP is so good I feel I have to give you something.  Where do I send?
  150.  
  151.      The program's free, but if you insist, you can send something to me
  152.      at 5705 North 117th Plaza, Omaha, NE  68164-1432.
  153.  
  154. 16.  What can I do to help you out with NcFTP?
  155.  
  156.      I don't really need any help coding the program. But one thing I could
  157.      use is access to different types of hardware. At the moment, I only
  158.      have internet access to an IRIX machine (cse) and a Solaris box. If
  159.      you have a machine not doing much and it has a decent C compiler and
  160.      debugger (i.e. dbx) I would be grateful for an account an few megs of
  161.      diskspace. Sometime down the line, I would like to run the new version
  162.      through Purify too. I would also like an account to be my permanent
  163.      home, for maintaining the program, reading/sending mail and USENET news,
  164.      and offering ncftp for anonymous FTP. That is, unless, the university
  165.      will let me have a permanent account here.
  166.  
  167. 17.  I'm having problems with ncftp for Linux when using term.
  168.  
  169.      Unfortunately, I can't be of much help.  I just incorporate the
  170.      term code Linux users send me, and I trust they did it correctly.
  171.      I would like to get a Linux box of my own sometime.
  172.  
  173. 18.  Do you mind if I put up ncftp for anonymous FTP?
  174.  
  175.      Since cse.unl.edu is the official site, we get plenty of FTP connections.
  176.      If you want to shadow my FTP area, that'd be great.
  177.  
  178. 19.  Can I sell the source code or executables of NcFTP for profit?  (Aug 6)
  179.  
  180.      In general, no.  Please contact me if you would like to do this,
  181.      and maybe something can be worked out.
  182.  
  183. 20.  What does NCEMRSoft stand for?
  184.  
  185.      I won't say what NCEMRS stands for ;-) Sorry!  Let's just say the
  186.      founding members of NCEMRSoft were disappointed in being rejected
  187.      for the National Honor Society when they were juniors in high school.
  188.  
  189. 21.  Do you mind if I write an article about ncftp?
  190.  
  191.      I love to see my name in print. It was nice to be able to bring a book
  192.      with a whole section on ncftp to a job interview. It's also fun seeing
  193.      your name in "E-Mail Addresses of the Rich & Famous." So if you want to
  194.      write about ncftp in your book or magazine, feel free! Let me know so
  195.      I can go have a look at it.
  196.  
  197. 22.  Does ncftp have a command-line editor and history facility?
  198.  
  199.      You can compile the program along with Chris Thewalt's "Getline"
  200.      library, available at the FTP area, or with GNU's Readline library.
  201.  
  202. 23.  Can I use colon-mode with put?
  203.  
  204.      No, and to be honest, it's not a high priority item on the To-Do list.
  205.      I will do it someday, but not in the immediate future.
  206.  
  207. 24.  When I try to compile with GNU readline I get link errors.  (July 3)
  208.  
  209.      Some systems don't have the 'xmalloc' function in the standard
  210.      library, and GNU readline apparently uses it.  If you get complaints
  211.      about xmalloc not found, you need to link the library it is in.
  212.      For my system, I could just add -lxmalloc.  If you can't find it:
  213.        (1) Complain to GNU, that's their problem ;-)
  214.        (2) Try the Getline library instead.
  215.        (3) Don't use Getline or Readline at all.
  216.  
  217. 25.  I don't want progress reports when ncftp's in the background.  (July 3)
  218.  
  219.      If you want to do a transfer in the background, you need to tell
  220.      the program to not use progress meters.  You can do that by setting
  221.      progress-meter to 0, setting verbose to quiet, or from the command
  222.      line, use -V -1.
  223.  
  224. 26.  Does NcFTP have any security holes? (July 17)
  225.  
  226.      To the best of my knowledge, there are no security holes.  There are a
  227.      couple things to be aware of though.
  228.  
  229.      A user can elect to put passwords in the .ncftprc (.netrc) file. The
  230.      program changes the mode of the rc to -rw-------, but that's a minor
  231.      problem that has existed with the regular ftp for years.
  232.  
  233.      Some sites don't like to have any information about their internal
  234.      network known to the outside. Such sites often run a "firewall" that
  235.      restrict network activity. Often such a setup requires the use of
  236.      "Passive FTP" mode. The default method of FTP is what I call "Sendport
  237.      FTP." This method tells the remote server which port on the local host
  238.      to send data to. Passive FTP gets around this by having the server
  239.      initiate the data connection. Again, Sendport FTP has been the way the
  240.      regular 'ftp' has been doing it for a long time, partly because the FTP
  241.      protocol's minimum implementation specifies Sendport as a requirement,
  242.      and not Passive FTP. Older versions of ncftp did not support Passive
  243.      FTP, but it has recently been added.
  244.  
  245.      On the other hand, ncftp provides built-in support for system logging,
  246.      for the paranoid sysadmin that has to know everything a user does with
  247.      ncftp.
  248.  
  249. 27.  Has NcFTP been ported to VMS/Windows/OS2/Mac/Amiga? (July 22)
  250.  
  251.      It has not been ported to VAX/VMS, or MS Windoze, and I have no
  252.      immediate plans to do it myself.  There is a program called MaxiFTP
  253.      for OS/2 whose feature set (and documentation) is based on NcFTP.
  254.  
  255.      An earlier version of NcFTP was ported to AmigaDOS awhile back, but
  256.      I think they had some problems with later versions.
  257.  
  258.      For Macintosh, I happily recommend "Fetch."  
  259.  
  260. 28.  How come aborting doesn't work consistently? (August 6)
  261.  
  262.      In the past there have been problems with aborting file transfers
  263.      (which includes quitting while paging a remote file).  Interrupting
  264.      sometimes caused the program to hang, act weird, or not work at all.
  265.      A work-around was introduced, so that when you hit ^C the program
  266.      doesn't abort the transfer, but it does supress further output to the
  267.      screen.  This hack was put into place a long time ago, but I haven't
  268.      attempted to squash it because it's low on my priority list.
  269.  
  270.      I'm not satisfied with that behavior, but it will have to do until I get
  271.      the new version out the door. If you like, you can use the buggy interrupt
  272.      code anyway if you compile with TRY_ABOR.
  273.  
  274.