home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / ncftp2r1.zip / ncftp.inf (.txt) < prev    next >
OS/2 Help File  |  1996-06-23  |  73KB  |  2,178 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Introduction ΓòÉΓòÉΓòÉ
  3.  
  4. NcFTP is a user interface to the Internet standard File Transfer Protocol. This 
  5. program allows a user to transfer files to and from a remote network site, and 
  6. offers additional features that are not found in the standard interface, ftp. 
  7.  
  8. The program runs in one of three modes: visual mode, line mode and colon mode. 
  9.  
  10. If your system is somewhat modern, the default mode should be visual mode. This 
  11. is a full-screen interface that uses the curses library. 
  12.  
  13. With visual mode, you edit the program's settings with a nice screen interface 
  14. instead of typing arcane commands. 
  15.  
  16. If you are not in visual mode, you will be using line mode for the interactive 
  17. shell. This mode is a no-frills command-line interface that will look like the 
  18. default ftp program's command shell. 
  19.  
  20. The third mode, colon mode, refers to the program's ability to do a quick 
  21. retrieve of a file directly from your shell command line, without going into 
  22. the program's own shell. This mode is useful for shell scripts. 
  23.  
  24. NcFTP v2.3.0 provides several enhancements over the standard ftp available with 
  25. IBM's TCP/IP and Warp's IAK. NcFTP offers serveral benefits and enhancements, 
  26. such as: 
  27.  
  28.      A progress indicator bar 
  29.  
  30.      Re-get support - The abilitity to automatically restart an aborted ftp 
  31.       transfer at the point where it left off. 
  32.  
  33.      Colon-mode, which allows you to quickly pick up a single file by typing a 
  34.       single command on the command line. 
  35.  
  36.      Recursive gets; Now you can retrieve entire sub-directory trees using the 
  37.       -r switch with the get command. 
  38.  
  39.      Get `newer than X-files'; This retrieves files that are newer than X 
  40.       days. 
  41.  
  42.      Get new files only; NcFTP now has the ability to skip files that you 
  43.       already have, making it easy to mirror other sites, or just pick up new 
  44.       files since your last ftp session. 
  45.  
  46.      Integrated hosts editor. 
  47.  
  48.  
  49. ΓòÉΓòÉΓòÉ 2. What's Different With This Port ΓòÉΓòÉΓòÉ
  50.  
  51. All features of the original UNIX version of NcFTP have been maintained, with 
  52. two exceptions: 
  53.  
  54.      SOCKS support has not been implemented. 
  55.  
  56.      NcFTP does not go into `silent mode' when in the background. 
  57.  
  58.  All other features have been maintained. Also, there are some new features or 
  59.  enhancements with this port. Specifically they are: 
  60.  
  61.      FAT partition friendly, NcFTP will work equally as well on FAT 
  62.       partititions as it will on HPFS partititions. 
  63.  
  64.      NcFTP will interpret / as \ for local system file names. 
  65.  
  66.      Background Paging. This feature was introduced by Steve Willer in the 
  67.       v1.9.3 port of NcFTP. This features gives you the ability to have your 
  68.       pager program start in a separate window. The window title bar will 
  69.       refect exactly what is being viewed. The specific commands are: 
  70.  
  71.         -  bpage 
  72.         -  bls 
  73.         -  bdir 
  74.         -  bredir 
  75.  
  76.      Complete control over the NcFTP's colors. There is now a Color 
  77.       Configuration screen which allows you to set your favorite colors. 
  78.  
  79.      NcFTP for OS/2 no longer uses the `i.am.running' flag file to determine 
  80.       if other copies of NcFTP are running. It now uses OS/2 semaphores. This 
  81.       is a key feature incase NcFTP were to crash, it will not leave old files 
  82.       laying around. 
  83.  
  84.      NcFTP now clears the screen before calling a command shell. 
  85.  
  86.      The `ESCAPE' key will clear the input line, just like OS/2. 
  87.  
  88.      When writing files to a FAT partition, NcFTP will set the extended 
  89.       attribute .LONGNAME to the actual file name. 
  90.  
  91.      NcFTP will store a URL type reference in the .SUBJECT extended attribute 
  92.       of each file retrieved that shows the host, directory and name of the 
  93.       file retrieved.  For example, it will store the following: 
  94.       ftp://hobbes.nmsu.edu/incoming/ncftp230.zip 
  95.  
  96.  Three new Global Preference Options are now available: 
  97.  
  98.      Maximum Redials Sets the maximum number of retries to connect to a busy 
  99.       system. 
  100.  
  101.      Redial Delay Sets the delay between redials. 
  102.  
  103.      Pager in new window All NcFTP pager related commands run in a separate 
  104.       window. 
  105.  
  106.  
  107. ΓòÉΓòÉΓòÉ 3. Differences Between NcFTP v.1.9.3 ΓòÉΓòÉΓòÉ
  108.  
  109. Differences between NcFTP v1.9.3 and NcFTP v2.3.0 
  110.  
  111.      Using "colon-mode" never enters the shell.  Whenever you use it, the 
  112.       program will do it's thing, and exit. 
  113.  
  114.      You don't get the fancy prompts anymore when using "line" mode (i.e. you 
  115.       turned off visual mode by running with "ncftp -L"). 
  116.  
  117.      When in visual mode, you can't use GNU Readline or Getline.  You can use 
  118.       them if not in visual mode though.  In visual mode, you get to use my 
  119.       homegrown line editor/history.  It lets you scroll through the history, 
  120.       and use some simple editing commands. 
  121.  
  122.      "get"/"put" always behaves like "mget"/"mput." 
  123.  
  124.      There is no .netrc file.  You do get a ~/.ncftp directory, and in it you 
  125.       get files called "hosts" and "prefs."  You can also put your "macros" 
  126.       file there, and if you have logging turned on, a file called "log" is 
  127.       stored there. 
  128.  
  129.      For "macdef init" macros, you need to put them in your "macros" file 
  130.       named as ".open.<sitename>.  So for an init macro for wuarchive, you 
  131.       would use a macro named ".open.wuarchive" instead. 
  132.  
  133.      Other commands previously supported for backwards compatibility with 
  134.       "ftp" are gone.  So are some other less useful commands. 
  135.  
  136.      The gateway hack has been removed.  You'll have to use SOCKS, which has 
  137.       not been implemented in the OS/2 port. 
  138.  
  139.      Hostname abbreviation rules have changed a bit.  NcFTP assigns a unique 
  140.       nickname to site the first time you open it (this nickname can be changed 
  141.       using the host editor if you don't like it).  When you try opening a 
  142.       site, you can either type it's full name again, or type it's nickname. 
  143.       You can abbreviate the nickname, but not other parts of the site name. 
  144.       For example, if you had an entry called "wuarchive.wustl.edu" in your 
  145.       host file with a nickname of "wuarchive," You could do "open wuarchive" 
  146.       or "open wuar" but "open wustl" would not.  This avoids the confusion 
  147.       between abbreviations and local network hosts. 
  148.  
  149.  
  150. ΓòÉΓòÉΓòÉ 4. Installation ΓòÉΓòÉΓòÉ
  151.  
  152.    1. Place NcFTP.exe in your path. 
  153.  
  154.    2. Place ncftp.inf in a directory referenced by the BOOKSHELF environment 
  155.       variable in your CONFIG.SYS. 
  156.  
  157.    3. Be sure you have the latest version of emx's run-time libraries. NcFTP 
  158.       requres emx09b fix01 or later to run properly. If you have an older 
  159.       version of emx runtimes, you can get the latest from: 
  160.  
  161.          ftp://hobbes.nmsu.edu/os2/unix/emx09b/emxrt.zip 
  162.  
  163.    4. NcFTP also requires an external pager program that views text files from 
  164.       the remote host. By default, NcFTP uses the OS/2 more command, which is 
  165.       not very robust. I recommend you use less.exe. Less.exe has been ported 
  166.       from Unix and provides several enhancements over the more command. If you 
  167.       don't have less.exe or need a later version, you get the it from: 
  168.  
  169.          ftp://hobbes.nmsu.edu/os2/unix/less291.zip 
  170.  
  171.    5. The following environment variables are required for NcFTP to run 
  172.       properly: 
  173.  
  174.           HOME this points to your home directory. NcFTP will create a 
  175.            subdirectory under this directory called .ncftp (or _ncftp for FAT 
  176.            partitions). This is where NcFTP will store its configuration files. 
  177.  
  178.  
  179.           NCFTPDIR can be used inplace of the HOME environment variable if 
  180.            necessary. 
  181.  
  182.  
  183.           HOSTNAME If NcFTP is unable to resolve your hostname, set this 
  184.            environment variable. i.e.; 
  185.  
  186.               SET HOSTNAME=myhostname 
  187.  
  188.  
  189.           DOMAIN If NcFTP is unable to resolve your domain name, set this 
  190.            environment variable to your domain name: 
  191.  
  192.               SET DOMAIN=inetport.com 
  193.  
  194.    6. The first time you run NcFTP, issue the prefs command and setup your 
  195.       preferences. For more information on preference, see the PREFERENCES 
  196.  
  197.  
  198. ΓòÉΓòÉΓòÉ 5. Running NcFTP ΓòÉΓòÉΓòÉ
  199.  
  200. ncftp [program options] [[open options] hostname[:pathname]] 
  201.  
  202. OPTIONS: 
  203.  
  204.   Program options: 
  205.  
  206.  
  207.        -D   : Turn debug mode and trace mode on.
  208.        -L   : Don't use visual mode (use line mode).
  209.        -V   : Use visual mode.
  210.        -H   : Dump the version information.
  211.  
  212.    Command-line open options:
  213.  
  214.        -a   : Open anonymously.
  215.        -u   : Open with username and password prompt.
  216.        -p X : Use port number X when opening.
  217.        -r   : Redial until connected.
  218.        -d X : Redial, delaying X seconds between tries.
  219.        -g X : Give up after X redials without connection.
  220.  
  221.    Command-line retrieve options:
  222.  
  223.        -C   : Force continuation (reget).
  224.        -f   : Force overwrite.
  225.        -G   : Don't use wildcard matching.
  226.        -R   : Recursive. Useful for fetching whole directories.
  227.        -n X : Get selected files only if X days old or newer.
  228.  
  229.  
  230. ΓòÉΓòÉΓòÉ 6. Introduction to Visual Mode ΓòÉΓòÉΓòÉ
  231.  
  232. When entering visual mode, the screen clears and is rewritten with the splash 
  233. screen. You should see the black status bar occupying the second to last row on 
  234. the screen. Beneath the status bar is the input line, where you type commands 
  235. to the program's shell. 
  236.  
  237. The program then waits for you to do something. Usually this means you want to 
  238. open a remote filesystem to transfer files to and from your local machine's 
  239. filesystem. To do that, you need to know the symbolic name of the remote 
  240. system, or its Internet Protocol (IP) address. For example, a symbolic name 
  241. might be typhoon.unl.edu, and its IP address could be 129.93.33.24.  To open a 
  242. connection  to that system, you use the program's open command: 
  243.  
  244.      open typhoon.unl.edu
  245.      open 129.93.33.24
  246.  
  247. Both of these try to open the machine called typhoon at the University of 
  248. Nebraska. Using the symbolic name is the preferred way, because IP addresses 
  249. may change without notice, while the symbolic names usually stay the same. 
  250.  
  251. When you open a remote filesystem, you need to have permission. The FTP 
  252. Protocol's authentication system is very similar to that of logging in to your 
  253. account. You have to give an account name, and its password for access to that 
  254. account's files. However, most remote systems that have anything you might be 
  255. interested in don't require an account name for use. You can often get 
  256. anonymous access to a remote filesystem and exchange files that have been made 
  257. publicly accessible. The program attempts to get anonymous permission to a 
  258. remote system by default. What actually happens is that the program tries to 
  259. use anonymous as the account name, and when prompted for a password, uses your 
  260. E-mail address as a courtesy to the remote system's maintainer. You can have 
  261. the program try to use a specific account also. That will be explained later. 
  262.  
  263. If the connection succeeded, you should see the status bar change to hold the 
  264. remote system's name on one side, and the current remote directory on the other 
  265. side. To see what's in the current remote directory, you can use the program's 
  266. and ls dir commands. The former is terse, preferring more remote files in less 
  267. screen space, and the latter is more verbose, giving detailed information about 
  268. each item in the directory. 
  269.  
  270. You can use the program's cd command to move to other directories on the remote 
  271. system. The cd command behaves very much like the command of the same name in 
  272. the Bourne and Korn shell. 
  273.  
  274. The purpose of the program is to exchange data with other systems. You can use 
  275. the program's get command to copy a file from the remote system to your local 
  276. system: 
  277.  
  278.    get README.txt 
  279.  
  280. The program will display the progress of the transfer on the screen, so you can 
  281. tell how much needs to be done before the transfer finishes. When the transfer 
  282. does finish, then you can enter more commands to the program's command shell. 
  283.  
  284. You can use the program's put command to copy a file from your system to the 
  285. remote system: 
  286.  
  287.    put something.tar 
  288.  
  289. When you are finished using the remote system, you can open another one or use 
  290. the quit command to terminate the program. 
  291.  
  292.  
  293. ΓòÉΓòÉΓòÉ 7. The Bookmarks File ΓòÉΓòÉΓòÉ
  294.  
  295. One of the program's goals is to minimize typing and maximize convenience. The 
  296. program automatically saves information about the sites you call on in a 
  297. special file called the bookmarks file, which is stored in the subdirectory of 
  298. your home directory. .ncftp Each bookmark saves the host name along with other 
  299. settings, including the remote directory you were in, the account information, 
  300. and more. This makes it easy to call back a site later and have everything be 
  301. like it was when you left the last time. 
  302.  
  303. A big advantage of saving this information is that you can refer to a site by a 
  304. shorter, more meaningful name, instead of using the full symbolic host name for 
  305. a site. For example, if you called a site named typhoon.unl.edu frequently, its 
  306. bookmark name might be just typhoon. Then, instead of: 
  307.  
  308.    open typhoon.unl.edu 
  309.  
  310. you could use:    open typhoon 
  311.  
  312. You could also abbreviate the bookmark name further, as long as the program 
  313. will know which site you are referring to. If no other bookmark's name starts 
  314. with the letters ty, you could do just: 
  315.  
  316.    open ty 
  317.  
  318. Use the bookmarking feature to assign mnemonic names to hosts whose real names 
  319. don't give much hint to what you call there for. A popular game called Nethack 
  320. is archived at linc.cis.upenn.edu, in the /pub/NH3.1 directory. You could 
  321. assign nethack as the bookmark name for this site. Then you could try: 
  322.  
  323.    open nethack 
  324.  
  325. instead of: 
  326.  
  327.    open linc.cis.upenn.edu 
  328.  
  329.  
  330. ΓòÉΓòÉΓòÉ 8. Using The Bookmark Editor ΓòÉΓòÉΓòÉ
  331.  
  332. To manipulate the bookmarks stored in your bookmarks file, you use the 
  333. program's bookmark editor. Run the bookmark editor by typing the bookmarks 
  334. command from within the program. This brings up a new screen of information. On 
  335. the right side is the list of remote systems the program has saved for you 
  336. already. Each time you open a connection to a remote system, the program saves 
  337. an entry in your bookmark file for you automatically. If you have not opened 
  338. any sites successfully yet, this list would be empty. 
  339.  
  340. On the left side is some instructions saying what you can do with the list. The 
  341. bookmark editor is waiting for you to do something, like select a bookmark 
  342. whose settings you want to edit. 
  343.  
  344. Some bookmark editor hot key commands are one key only. You do not need to hit 
  345. enter after the hot key commands. To exit the bookmark editor for example, you 
  346. would just type the x key only. The multikey commands require a slash first and 
  347. do require the enter key. To delete the selected site, for example, you would 
  348. type the / key, then del, and then the enter key. 
  349.  
  350. You can use the d key to move down one line in the list, and the u key to move 
  351. up one line. If you have many entries in the bookmark list, you won't be able 
  352. to see them all at once. The bookmark list scrolls as appropriate to bring the 
  353. other sites into view. Use the p and n keys to move pages at a time. 
  354.  
  355. Another way to select a site in the bookmark list is to use the capital 
  356. letters. If you had many entries in my bookmark list, but wanted to select a 
  357. site whose bookmark name was nethack, you could type N and the list would zoom 
  358. to the first site with bookmark starting with the letter n. 
  359.  
  360. After you have hilited a bookmark you want to edit, use the /ed command. Doing 
  361. that brings up another screen with the settings for that bookmark. 
  362.  
  363. In the Bookmark Options screen, you use hot keys to select a setting to edit. 
  364. To edit the bookmark name, for example, you would type a. When you are finished 
  365. editing this bookmark, hit the x key to return to the bookmark editor's screen. 
  366.  
  367.  
  368. ΓòÉΓòÉΓòÉ 9. Bookmark Options ΓòÉΓòÉΓòÉ
  369.  
  370. Each remote site stored in your bookmarks file can have individual options 
  371. specified. 
  372.  
  373.       Bookmark Name 
  374.       Hostname 
  375.       User 
  376.       Password 
  377.       Account 
  378.       Directory 
  379.       Save Dir on Exit 
  380.       Transfer Type 
  381.       Port 
  382.       Has SIZE command 
  383.       Has MDTM command 
  384.       Can use passive FTP 
  385.       Operating System 
  386.       Comment 
  387.  
  388.  
  389. ΓòÉΓòÉΓòÉ 9.1. Bookmark Name ΓòÉΓòÉΓòÉ
  390.  
  391. Edit the Bookmark name field to change the name you use to open this site with. 
  392. Remember, when you change the bookmark name , you must use this name to refer 
  393. to this particular bookmark, so if you change it to foobar, you need to use 
  394. open foobar. This is required because you can have multiple entries for a 
  395. remote host. For example, you could have two bookmarks for wuarchive.wustl.edu, 
  396. named wumac and wuwindows. If you were to say open wuarchive.wustl.edu, it 
  397. would not be clear to the program which host entry to use. 
  398.  
  399.  
  400. ΓòÉΓòÉΓòÉ 9.2. Hostname ΓòÉΓòÉΓòÉ
  401.  
  402. Full hostname of the remote site.  You can also specify an IP address. 
  403.  
  404.  
  405. ΓòÉΓòÉΓòÉ 9.3. User ΓòÉΓòÉΓòÉ
  406.  
  407. Change the login information for the site by editing the User, Password, and 
  408. Account fields. Normally you would want to leave these as is for anonymous 
  409. logins. Depending on your situation, you might want to use a specific account 
  410. on the remote system. This is one way to get the program to use a non anonymous 
  411. login. 
  412.  
  413.  
  414. ΓòÉΓòÉΓòÉ 9.4. Password ΓòÉΓòÉΓòÉ
  415.  
  416. Password to use with this site.  By default, NcFTP will use the password 
  417. specified in the preferences file. 
  418.  
  419.  
  420. ΓòÉΓòÉΓòÉ 9.5. Account ΓòÉΓòÉΓòÉ
  421.  
  422. Specifies the account to use on the remote system. 
  423.  
  424.  
  425. ΓòÉΓòÉΓòÉ 9.6. Directory ΓòÉΓòÉΓòÉ
  426.  
  427. The Directory field specifies the directory to move to upon successful 
  428. connection to the remote host for this bookmark. When you close the site, this 
  429. field is updated for you automatically to be the directory you were in when you 
  430. closed the site. 
  431.  
  432.  
  433. ΓòÉΓòÉΓòÉ 9.7. Save Dir on Exit ΓòÉΓòÉΓòÉ
  434.  
  435. If this field is set to Yes NcFTP will save the current remote directory each 
  436. time you close the site.  Otherwise, if this field is set to No, NcFTP will not 
  437. save the current directory when the site is closed. 
  438.  
  439.  
  440. ΓòÉΓòÉΓòÉ 9.8. Transfer type ΓòÉΓòÉΓòÉ
  441.  
  442. The Transfer Type field can be changed to use a different translation mode when 
  443. transferring files. This program is usually running on an OS/2 system, and most 
  444. remote systems are UNIX variants, so the default transfer type is, which does 
  445. no binary translation at all. 
  446.  
  447. However, when you need to work with plain text files and transfer them between 
  448. non-UNIX systems, you can change this to ASCII. That will guarantee that the 
  449. text-only files will translate correctly. Most often, you will need to use the 
  450. binary transfer type. 
  451.  
  452.  
  453. ΓòÉΓòÉΓòÉ 9.9. Port ΓòÉΓòÉΓòÉ
  454.  
  455. The Port field can be changed so that the program tries to use a non-standard 
  456. port number. I have yet to ever need a different port number, but this 
  457. capability is here in case it's needed. 
  458.  
  459.  
  460. ΓòÉΓòÉΓòÉ 9.10. Has SIZE command ΓòÉΓòÉΓòÉ
  461.  
  462. The Has SIZE Command field will probably not need to be edited. This field is 
  463. mostly for your information only. The SIZE command is an FTP Protocol command 
  464. that the program would like the remote server to support. If it is supported, 
  465. the program can get an exact number of bytes of remote files before 
  466. transferring. That is nice to know so the progress reports work better. 
  467.  
  468.  
  469. ΓòÉΓòÉΓòÉ 9.11. Has MDTM command ΓòÉΓòÉΓòÉ
  470.  
  471. The Has MDTM Command field will probably not need to be edited either. If the 
  472. remote server supports it, the program can get the exact modification date of 
  473. the remote file, and set the local file to the same date. 
  474.  
  475.  
  476. ΓòÉΓòÉΓòÉ 9.12. Can use passive FTP ΓòÉΓòÉΓòÉ
  477.  
  478. The Can Use Passive FTP field specifies whether the remote server allows use of 
  479. the FTP Protocol's PASV command. There are two ways to set up FTP connections. 
  480. The default way is what is  called Port FTP . Unfortunately, Port FTP cannot be 
  481. used when your local host is hiding behind a Firewall. Passive FTP can be used 
  482. with a firewall, and that's why I would like to use that method if possible. 
  483. You probably will not need to edit this field, since this can be detected 
  484. automatically most of the time. 
  485.  
  486.  
  487. ΓòÉΓòÉΓòÉ 9.13. Operating System ΓòÉΓòÉΓòÉ
  488.  
  489. The Operating System field is used by the program to tell if it can rely on 
  490. certain dependencies to specific operating systems. If the OS is a UNIX 
  491. variant, the program can make some assumptions about the remote server's 
  492. responses. For example, if the OS is UNIX, the ls command tries to use the 
  493. flags, like you could with -CF /bin/ls -CF on UNIX. If the OS wasn't UNIX, the 
  494. -CF might not make sense to the remote server and it might complain. You 
  495. probably will not need to edit this field, since this can be detected 
  496. automatically most of the time. 
  497.  
  498.  
  499. ΓòÉΓòÉΓòÉ 9.14. Comment ΓòÉΓòÉΓòÉ
  500.  
  501. The comment field can be used to store a brief description about the site. For 
  502. example, for my nethack entry, you could use this field to hold Archive site 
  503. for latest version of Nethack. When you are in the bookmark editor's window, if 
  504. you hilite a site that has a comment, it is printed at the bottom of the screen 
  505. so you do not have to edit the site to look at it. 
  506.  
  507.  
  508. ΓòÉΓòÉΓòÉ 10. Preferences ΓòÉΓòÉΓòÉ
  509.  
  510. In addition to remote-host specific options, the program has global options 
  511. that are user-configurable. To change the program's preferences, run the prefs 
  512. command from within the program. 
  513.  
  514.       Default Open Mode 
  515.       Anonymous Password 
  516.       Blank Lines Between Commands 
  517.       Default FTP mode 
  518.       User Log Size 
  519.       Max Bookmarks to Save 
  520.       Pager 
  521.       Progress Meter 
  522.       Remote Messages 
  523.       Startup in Local Dir 
  524.       Startup Messages 
  525.       Network Timeout 
  526.       Trace Logging 
  527.       File Timestamps 
  528.       Screen Graphics 
  529.       Redial Attempts 
  530.       Pause Between Redials 
  531.       Pager In Separate Window 
  532.       Background Pager in Full Screen Session 
  533.       Turn on/off NcFTP's Bell 
  534.  
  535.  
  536. ΓòÉΓòÉΓòÉ 10.1. Default Open Mode ΓòÉΓòÉΓòÉ
  537.  
  538. The Default open mode field specifies how the program should try to open 
  539. connections. If you do a lot of anonymous FTPing, you should leave this set to 
  540. anonymous. You might want to set this field to user and password if the hosts 
  541. you FTP to most often don't allow anonymous logins. For example, if you are 
  542. using the program on your company network to copy things from different company 
  543. machines, you would not want to use anonymous FTP mode. 
  544.  
  545.  
  546. ΓòÉΓòÉΓòÉ 10.2. Anonymous Password ΓòÉΓòÉΓòÉ
  547.  
  548. The Anonymous password field lets you change the value given to the remote host 
  549. when you use an anonymous login. It is customary (and sometimes required) to 
  550. use your e-mail address as the password for anonymous FTP, so the remote host's 
  551. administrator knows who is using the service. If the program didn't get your 
  552. e-mail address right, or you want to use something different, you can change it 
  553. here. 
  554.  
  555.  
  556. ΓòÉΓòÉΓòÉ 10.3. Blank Lines Between Cmds ΓòÉΓòÉΓòÉ
  557.  
  558. The program now uses more whitespace than before to reduce eyestrain. If you 
  559. prefer, you can turn off that feature by changing the Blank lines between cmds 
  560. field. 
  561.  
  562.  
  563. ΓòÉΓòÉΓòÉ 10.4. Default FTP Mode ΓòÉΓòÉΓòÉ
  564.  
  565. This option allows you to choose the default FTP mode. Normally you do not need 
  566. to change this value. 
  567.  
  568. If you are running behind a firewall or through a gateway, you may need to set 
  569. this option to the following: 
  570.  
  571.   Passive, but fall back to port if needed 
  572.  
  573.       or 
  574.  
  575.   Passive FTP only (PASV) 
  576.  
  577. Try the first option, if it does not work, try the second. 
  578.  
  579.  
  580. ΓòÉΓòÉΓòÉ 10.5. User Log Size ΓòÉΓòÉΓòÉ
  581.  
  582. The program can log the transfers you do to a file so you can refer to the log 
  583. if you can't remember where you got something. To turn on the log, which is 
  584. saved as ~/.ncftp/log, you can set the User log size field to a number greater 
  585. than zero. You probably do not want to let this file grow forever, so you set 
  586. the maximum size of the log by setting that field. 
  587.  
  588.  
  589. ΓòÉΓòÉΓòÉ 10.6. Max Bookmarks to Save ΓòÉΓòÉΓòÉ
  590.  
  591. Although the program is perfectly happy saving every site you ever open in the 
  592. bookmarks file, you may want to put an upper bound on the number of sites 
  593. saved. If you have a slow machine, which might cause the program to take awhile 
  594. to load and save the bookmarks, or if disk space is at a premium, you can set 
  595. the Max bookmarks to save field to limit the number of bookmarks saved. Once 
  596. that limit is reached, the program will discard sites whose time since the last 
  597. connection is the longest. In other words, a site you only called once a long 
  598. time ago and forgot about will be the first to go. 
  599.  
  600.  
  601. ΓòÉΓòÉΓòÉ 10.7. Pager ΓòÉΓòÉΓòÉ
  602.  
  603. Several of NcFTP's functions use an external pager program to view large 
  604. amounts of text.  For example, the page command retrieves a remote file and 
  605. uses the pager to view it. 
  606.  
  607. You can specify the program to use (and its command line flags, if any) by 
  608. setting the pager field. 
  609.  
  610. I recommend using LESS.EXE available from hobbes.nmsu.edu as: 
  611.  
  612.   ftp://hobbes.nmsu.edu/os2/unix/less291.zip 
  613.  
  614.  
  615. ΓòÉΓòÉΓòÉ 10.8. Progress Meter ΓòÉΓòÉΓòÉ
  616.  
  617. When you transfer files between the remote host and your local host, the 
  618. program uses a progress meter to show you the status of the transfer. The 
  619. program has a few different progress meters to choose from, and you can try out 
  620. the other ones by changing the Progress meter field. 
  621.  
  622.  
  623. ΓòÉΓòÉΓòÉ 10.9. Remote Messages ΓòÉΓòÉΓòÉ
  624.  
  625. You can control how much of the remote server's chatter is printed by changing 
  626. the Remote messages field. The program always prints error messages, but most 
  627. of the time the remote server doesn't have anything useful to say. There are a 
  628. couple of messages that may be worth printing. The first is the startup 
  629. message. Typically, when you connect to a server it has some important 
  630. information about the server. Some servers have chdir messages, which are sent 
  631. when you enter a special directory. You specify whether to print these messages 
  632. by toggling the Remote messages field. 
  633.  
  634.  
  635. ΓòÉΓòÉΓòÉ 10.10. Startup in Local Dir ΓòÉΓòÉΓòÉ
  636.  
  637. By default, the program stays in the same directory you were in when you ran 
  638. the program, so that downloads will go in that directory. If you would like to 
  639. use a download directory so that all of your downloads go to a specific 
  640. directory, sepcify it here. This can prevent your from exceeding your quota, 
  641. and overwriting your other files. You can set the Startup in Local Dir field to 
  642. have the program change the local directory each time when the program starts 
  643. up. Then you know where to expect your downloads to end up. 
  644.  
  645.  
  646. ΓòÉΓòÉΓòÉ 10.11. Startup Messages ΓòÉΓòÉΓòÉ
  647.  
  648. The program itself has some messages which you may get tired of and want to 
  649. turn off. You can change the Startup messages field to specify whether the 
  650. program prints its splash screen and whether it prints a tip on how to maximize 
  651. use of the program. 
  652.  
  653.  
  654. ΓòÉΓòÉΓòÉ 10.12. Network Timeout ΓòÉΓòÉΓòÉ
  655.  
  656. Specifies the amount of time in seconds before NcFTP gives up trying to 
  657. communicate with the remote host. 
  658.  
  659.  
  660. ΓòÉΓòÉΓòÉ 10.13. Trace Logging ΓòÉΓòÉΓòÉ
  661.  
  662. Turns on or off trace logging.  When trace logging is on, NcFTP will create a 
  663. trace file in your ~/.ncftp directory that contains useful debugging 
  664. information about the last session. 
  665.  
  666.  
  667. ΓòÉΓòÉΓòÉ 10.14. File Timestamps ΓòÉΓòÉΓòÉ
  668.  
  669. When you retrieve a remote file, by default the program tries to also set the 
  670. exact modification time of the local file as the remote file. You can turn that 
  671. off by changing the File timestamps field. 
  672.  
  673.  
  674. ΓòÉΓòÉΓòÉ 10.15. Screen Graphics ΓòÉΓòÉΓòÉ
  675.  
  676. If you don't like the full-screen graphics, you can use the line- oriented mode 
  677. by changing the Screen graphics field. Once you turn visual mode off from the 
  678. Preferences screen, you won't be able to get back to the preferences screen 
  679. again when using line mode. To get back into visual mode, you can run the 
  680. program with the -V flag, like: 
  681.  
  682.    ncftp -V 
  683.  
  684. By default, NcFTP will only try once to open a remote site. You can set Redial 
  685. Attempts to a number greater than one, and NcFTP will automatically redial the 
  686. remote site if the connection failed. 
  687.  
  688.  
  689. ΓòÉΓòÉΓòÉ 10.16. Redial Attempts ΓòÉΓòÉΓòÉ
  690.  
  691. When redialing a remote system, NcFTP will sleep X number of seconds. You can 
  692. specify the amount of time to sleep between redial attempts. 
  693.  
  694.  
  695. ΓòÉΓòÉΓòÉ 10.17. Pause Between Redials ΓòÉΓòÉΓòÉ
  696.  
  697. Specifies the amount of time to sleep between redial attempts. 
  698.  
  699.  
  700. ΓòÉΓòÉΓòÉ 10.18. Pager in Separate Window ΓòÉΓòÉΓòÉ
  701.  
  702. NcFTP has the ability to start your pager program in a separate window by using 
  703. the bredir, bpage and bls commands. If you would like ALL pager related 
  704. commands to start in a separate window, set Pager In Separate Window to yes. 
  705.  
  706.  
  707. ΓòÉΓòÉΓòÉ 10.19. Background Window in Full Screen Session ΓòÉΓòÉΓòÉ
  708.  
  709. This option is not available from the prefs screen, it must be set manually in 
  710. the $HOME/.ncftp/prefs file. 
  711.  
  712. This option will toggle whether background operations (bpage, bredir, etc.) 
  713. will run in an OS/2 Window (default) or in a Full Screen Session.  To have all 
  714. background programs run in a Full Screen Session, add the following line to 
  715. your prefs file: 
  716.  
  717.   background-fullscreen 1 
  718.  
  719.  
  720. ΓòÉΓòÉΓòÉ 10.20. Toggle NcFTP's Bell ΓòÉΓòÉΓòÉ
  721.  
  722. This option is not available from the prefs screen, it must be set manually in 
  723. the $HOME/.ncftp/prefs file. 
  724.  
  725. This option will turn on (default) or turn off NcFTP's bell.  Normally, NcFTP 
  726. will signal when a command is complete by emmitting a beep.  If you find this 
  727. behaviour annoying, you can add the following line to your prefs file: 
  728.  
  729.   quiet-mode 1 
  730.  
  731.  
  732. ΓòÉΓòÉΓòÉ 11. Running Behind a Firewall or Gateway ΓòÉΓòÉΓòÉ
  733.  
  734. NcFTP v2.3.0 will work with a firewall, gateway or a system that utilizes ip 
  735. masquerading.  To insure NcFTP functions properly, do the following: 
  736.  
  737. In 'prefs', set Default FTP mode to: 
  738.  
  739.   Passive, but fall back to port if needed 
  740.  
  741.         or 
  742.  
  743.   Passive FTP only (PASV) 
  744.  
  745. If you experience timeouts, increase the network timeout field in prefs. 
  746.  
  747.   Network timeout:     60 
  748.  
  749. Also, insure the remote host can handle PASV commands and that option is set to 
  750. yes in the bookmarks editor: 
  751.  
  752.   Can use passive FTP:   Yes 
  753.  
  754.  
  755. ΓòÉΓòÉΓòÉ 12. Color Configuration ΓòÉΓòÉΓòÉ
  756.  
  757. In addition to remote-host specific options and global options that are 
  758. user-configurable, NcFTP allows you to change the program's appearence by 
  759. editing the programs colors. Run the colors command from within the program. 
  760.  
  761. The NcFTP Screen is broken down into 4 areas, List, Prompt, Input and Status. 
  762. Below is a screen snapshot showing each area: 
  763.  
  764. ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòù
  765. ΓòæPort Version: NcFTP v2.3.0 - OS/2                                        Γòæ
  766. Γòæ                                                                         Γòæ
  767. Γòæ                                                                         Γòæ
  768. ΓòæLocal Hostname: ecsnet.com                                               Γòæ
  769. Γòæ                                                                         Γòæ
  770. ΓòæTip: If you need to report a bug, send me a ~/.ncftp/trace file too. To  Γòæ
  771. Γòæ     enable tracing, turn on trace logging from the Prefs window, or typeΓòæ
  772. Γòæ     "set trace 1" from the command line. Then re-create your bug, quit  Γòæ
  773. Γòæ     the program, and send the trace file to mevans@ecsnet.com.          Γòæ
  774. Γòæ                                                                         Γòæ
  775. Γòæ                                                                         Γòæ
  776. Γòæ                              List Area                                 Γòæ
  777. Γòæ                                                                         Γòæ
  778. Γòæ                                                                         Γòæ
  779. Γòæ----------------------------------Status Bar----------------------------Γòæ
  780. ΓòæPrompt Area>      Input Area                                           Γòæ
  781. ΓòÜΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓò¥
  782.  
  783.  
  784. ΓòÉΓòÉΓòÉ 13. Command Reference ΓòÉΓòÉΓòÉ
  785.  
  786. Provides help on all NcFTP v2.3.0 commands. 
  787.  
  788.  
  789. ΓòÉΓòÉΓòÉ 13.1. ? -- Help ΓòÉΓòÉΓòÉ
  790.  
  791. Help from the command shell, the program prints the names of all of the 
  792. supported commands. From there, you can get specific help for a command by 
  793. typing the command after, for example: 
  794.  
  795.    ? open 
  796.  
  797. prints information about the open command. 
  798.  
  799.  
  800. ΓòÉΓòÉΓòÉ 13.2. ! -- OS/2 Shell ΓòÉΓòÉΓòÉ
  801.  
  802. Spawns a command shell.  To spawn a shell, just do: 
  803.  
  804.    ! 
  805.  
  806. You can also pass commands to the shell by placing the command to execute 
  807. immediately following the !, for example: 
  808.  
  809.     !dir/w 
  810.  
  811. will display a directory listing and then prompt the user to [Hit Return] to 
  812. continue. 
  813.  
  814. If a command is passed to the OS shell, NcFTP will prompt the user to [Hit 
  815. Return] when the command completes. If the program is shelled to OS/2, by using 
  816. only a !, NcFTP will not prompt the user to [Hit Return] upon exiting the 
  817. shell. 
  818.  
  819.  
  820. ΓòÉΓòÉΓòÉ 13.3. ascii -- Sets transfer type to ASCII ΓòÉΓòÉΓòÉ
  821.  
  822. Sets the file transfer type to ASCII text. In this mode, UNIX linefeeds will be 
  823. translated to Carriage Return / Linefeed pairs. The ascii command requires no 
  824. parameters. 
  825.  
  826.  
  827. ΓòÉΓòÉΓòÉ 13.4. bdir -- Background Dir (Directory in New Window) ΓòÉΓòÉΓòÉ
  828.  
  829. The bdir command prints a detailed directory listing to your in a separte 
  830. window. 
  831.  
  832. It tries to behave like UNIX's /bin/ls -l command. If the remote server seems 
  833. to be a UNIX host, you can also use the same flags you would with ls, for 
  834. instance 
  835.  
  836.     bdir -rt 
  837.  
  838. would try to act like 
  839.  
  840.     /bin/ls -lrt 
  841.  
  842. would on UNIX. 
  843.  
  844. Special Note: On large directory listings, you may have to scroll to the end of 
  845. the directory listing before NcFTP regains control. 
  846.  
  847.  
  848. ΓòÉΓòÉΓòÉ 13.5. binary -- Sets Transfer Type to binary ΓòÉΓòÉΓòÉ
  849.  
  850. Sets the file transfer type to Binary. In this mode, no translations are 
  851. performed between the local host and the remote host. 
  852.  
  853.  
  854. ΓòÉΓòÉΓòÉ 13.6. bls -- Background File Listing ΓòÉΓòÉΓòÉ
  855.  
  856. The bls command is equivalent to ls, only it feeds it's output to your pager in 
  857. a separate window. This command is primarily for line mode because directory 
  858. listings can scroll offscreen. If you do a normal ls while in visual mode, if 
  859. it would go offscreen, the built-in pager kicks in automatically. NcFTP v2.3.0 
  860. OS/2 Port Beta 6 12 
  861.  
  862.  
  863. ΓòÉΓòÉΓòÉ 13.7. bookmark -- Create / Update bookmark ΓòÉΓòÉΓòÉ
  864.  
  865. The bookmark command will create or update a bookmark using the current host 
  866. and directory. If you had logged into ftp.leo.org and were in the 
  867. /pub/os2/incoming directory, you can use the bookmark command to save this 
  868. information in the bookmarks file. 
  869.  
  870.   bookmark leo 
  871.  
  872. This would save ftp.leo.org in the bookmarks file with an alias of leo. 
  873.  
  874.  
  875. ΓòÉΓòÉΓòÉ 13.8. bookmarks -- Bookmark Editor ΓòÉΓòÉΓòÉ
  876.  
  877. The bookmarks command will take you into the Bookmark Editor Screen. See the 
  878. Bookmarks Section for more information. 
  879.  
  880.  
  881. ΓòÉΓòÉΓòÉ 13.9. bpage -- Background Browse Remote Files ΓòÉΓòÉΓòÉ
  882.  
  883. The bpage command lets you browse a remote file one page at a time in a 
  884. separate window. This is useful for reading README's on the remote host without 
  885. downloading them first. This command uses whatever program you have set the 
  886. pager field in the Preference screen to view the file. 
  887.  
  888. bpage can take multiple file names as parameters, meaning you can specify one 
  889. or several files to view, for example: 
  890.  
  891.    bpage 00index.txt newfiles 
  892.  
  893. would display both files, 00index.txt and newfiles using your pager in a 
  894. separate window. 
  895.  
  896.  
  897. ΓòÉΓòÉΓòÉ 13.10. bredir -- Background Re-display Last Directory ΓòÉΓòÉΓòÉ
  898.  
  899. The bredir command give you a way to re-display the last directory listing. The 
  900. program saves the output from the last dir or ls command you did, so if you 
  901. want to see it again you can do this without wasting network bandwidth. The 
  902. bredir command feeds the output to your pager in a separate window. 
  903.  
  904.  
  905. ΓòÉΓòÉΓòÉ 13.11. bye -- Close connections and Exit ΓòÉΓòÉΓòÉ
  906.  
  907. The bye command closes all connections and exits NcFTP. 
  908.  
  909.  
  910. ΓòÉΓòÉΓòÉ 13.12. cat -- Browse Remote Files ΓòÉΓòÉΓòÉ
  911.  
  912. The cat command lets you browse a remote file one page at a time. This is 
  913. useful for reading README's on the remote host without downloading them first. 
  914. This command uses the internal NcFTP viewer. 
  915.  
  916.  
  917. ΓòÉΓòÉΓòÉ 13.13. cd -- Change Remote Directory ΓòÉΓòÉΓòÉ
  918.  
  919. The cd command changes the working directory on the remote host. Use this 
  920. command to move to different areas on the remote server. If you just opened a 
  921. new site, you might be in the root directory. Perhaps there was a directory 
  922. called /pub/news/comp.sources.d that someone told you about. From the root 
  923. directory, you could: 
  924.  
  925.    cd pub 
  926.  
  927.    cd news 
  928.  
  929.    cd comp.sources.d 
  930.  
  931. or, more concisely, 
  932.  
  933.    cd /pub/news/comp.sources.d 
  934.  
  935. Then, commands such as get, put, and ls could be used to refer to items in that 
  936. directory. 
  937.  
  938.  
  939. ΓòÉΓòÉΓòÉ 13.14. close -- Close Connection with Remote Host ΓòÉΓòÉΓòÉ
  940.  
  941. The close command will disconnect from the remote host. If this is the first 
  942. time you have connected to this host, a new entry for this host will be placed 
  943. in your bookmarks file. 
  944.  
  945.  
  946. ΓòÉΓòÉΓòÉ 13.15. colors -- Color Configuration Editor ΓòÉΓòÉΓòÉ
  947.  
  948. The colors command takes you into the color configuration screen. Here you can 
  949. select your favorite foreground and background colors for NcFTP. 
  950.  
  951.  
  952. ΓòÉΓòÉΓòÉ 13.16. create -- Create empty file on Remote Host ΓòÉΓòÉΓòÉ
  953.  
  954. Sometimes it may be necessary to use the create command. This makes an empty 
  955. file on the remote host. This can be useful when you are unable to contact the 
  956. remote server's administrator, but hope someone in the know will spot your 
  957. file. For example, 
  958.  
  959.    create readline2.0.tar_is_corrupt 
  960.  
  961. might persuade someone to repost that file. 
  962.  
  963.  
  964. ΓòÉΓòÉΓòÉ 13.17. debug  -- Turns on/off debugging ΓòÉΓòÉΓòÉ
  965.  
  966. The debug command is mostly for use by me and the testers. You could type 
  967.  
  968.   debug 1 
  969.  
  970. to turn debugging mode on. Then you could see all messages between the program 
  971. and the remote server, and things that are printed only in debugging mode. If 
  972. you report a bug, I might ask you to send me a trace file. To do that, you 
  973. would run the program, and then type 
  974.  
  975.   debug trace 1 
  976.  
  977. debug without any arguments displays the current debug level. Valid debug 
  978. levels are 1 thur 5. 
  979.  
  980.  
  981. ΓòÉΓòÉΓòÉ 13.18. delete  -- Deletes remote files ΓòÉΓòÉΓòÉ
  982.  
  983. If you need to delete a remote file you can try the delete command. Much of the 
  984. time this won't work because you won't have the proper access permissions. 
  985.  
  986. This command is obsolete, you should use the rm command instead. 
  987.  
  988.  
  989. ΓòÉΓòÉΓòÉ 13.19. dir  -- Remote Detailed Directory Listing ΓòÉΓòÉΓòÉ
  990.  
  991. The dir command prints a detailed directory listing. It tries to behave like 
  992. UNIX's /bin/ls -l command. If the remote server seems to be a UNIX host, you 
  993. can also use the same flags you would with ls, for instance 
  994.  
  995.   dir -rt 
  996.  
  997. would try to act like 
  998.  
  999.   /bin/ls -lrt 
  1000.  
  1001. would on UNIX. 
  1002.  
  1003.  
  1004. ΓòÉΓòÉΓòÉ 13.20. echo  -- Echo's string to console ΓòÉΓòÉΓòÉ
  1005.  
  1006. The echo command wouldn't seem very useful, but it can be nice for use with the 
  1007. program's macros. It behaves like the equivalent command does under a UNIX 
  1008. shell, but accepts some extra flags. All percent flags are fed through 
  1009. strftime(4). So you could type 
  1010.  
  1011.    echo It is now %H:%M on %B %d. 
  1012.  
  1013. and you should get something like this printed on your screen: 
  1014.  
  1015.    It is now 19:00 on January 22. 
  1016.  
  1017. There are also at flags, which the program expands: 
  1018.  
  1019.    @H  : Name of connected host 
  1020.  
  1021.    @D  : Full pathname of remote current working directory 
  1022.  
  1023.    @J  : Short name of remote current working directory 
  1024.  
  1025.    @N  : Newline. 
  1026.  
  1027.    @n  : Bookmark name of connected host 
  1028.  
  1029. Example: 
  1030.  
  1031.    echo "Connected to @H at %H:%M." >> junk 
  1032.  
  1033. If you later looked at the contents of junk, it might say: 
  1034.  
  1035.    Connected to sphygmomanometer.unl.edu at 20:37. 
  1036.  
  1037.  
  1038. ΓòÉΓòÉΓòÉ 13.21. exit  -- Exits NcFTP ΓòÉΓòÉΓòÉ
  1039.  
  1040. Closes all open connections and exits NcFTP. 
  1041.  
  1042.  
  1043. ΓòÉΓòÉΓòÉ 13.22. get  -- Retrieves files from remote host ΓòÉΓòÉΓòÉ
  1044.  
  1045. The get command copies files from the current working directory on the remote 
  1046. host to your machine's current working directory. To place a copy of README in 
  1047. your local directory, you could try: 
  1048.  
  1049.    get README 
  1050.  
  1051. The get command has some powerful features which are described below, in 
  1052. SPECIAL DOWNLOADING FEATURES. 
  1053.  
  1054. Syntax: 
  1055.  
  1056. get [-flags] file1 [file2...] 
  1057.  
  1058.    Flags: 
  1059.  
  1060.      -C     : Force continuation (reget). 
  1061.  
  1062.      -f     : Force overwrite. 
  1063.  
  1064.      -G     : Don't use wildcard matching. 
  1065.  
  1066.      -R     : Recursive. Useful for fetching whole directories. 
  1067.  
  1068.      -n X    : Get selected files only if X days old or newer. 
  1069.  
  1070.      -z     : Get the remote file X, and name it to Y. 
  1071.  
  1072.     Examples: 
  1073.  
  1074.      get README 
  1075.  
  1076.      get README.* 
  1077.  
  1078.      get -G **Name.with.stars.in.it** 
  1079.  
  1080.      get -R new-files-directory 
  1081.  
  1082.      get -z WIN.INI ~/junk/windows-init-file", 
  1083.  
  1084.  
  1085. ΓòÉΓòÉΓòÉ 13.23. hosts  -- Edit settings for each remote host ΓòÉΓòÉΓòÉ
  1086.  
  1087. Edit the settings for each remote host 
  1088.  
  1089.  
  1090. ΓòÉΓòÉΓòÉ 13.24. lcd  -- Local Change Directory ΓòÉΓòÉΓòÉ
  1091.  
  1092. The lcd command is the first of a few l commands that work with the local host. 
  1093. This changes the current working directory on the local host. If you want to 
  1094. download files into a different local directory, you could use lcd to change to 
  1095. that directory and then do your downloads. 
  1096.  
  1097. Issuing an lcd with no parameters will change the local directory to the 
  1098. directory specified by the HOME environment variable. 
  1099.  
  1100.  
  1101. ΓòÉΓòÉΓòÉ 13.25. less  -- Views remote file one page at a time ΓòÉΓòÉΓòÉ
  1102.  
  1103. Views a file from the remote host one page at a time. 
  1104.  
  1105.  
  1106. ΓòÉΓòÉΓòÉ 13.26. lls  -- Local directory listing ΓòÉΓòÉΓòÉ
  1107.  
  1108. Another local command that comes in handy is the lls command, which runs OS/2's 
  1109. dir command on the local host and displays the results in the program's window. 
  1110. You can use the same flags with lls as you would in your command shell, so you 
  1111. can do things like: 
  1112.  
  1113.    lcd ~/doc 
  1114.  
  1115.    lls /w p*.txt 
  1116.  
  1117.  
  1118. ΓòÉΓòÉΓòÉ 13.27. lookup  -- Name server lookup ΓòÉΓòÉΓòÉ
  1119.  
  1120. The program also has a built-in interface to the name service via the lookup 
  1121. command. This means you can lookup entries for remote hosts, like: 
  1122.  
  1123.   lookup cse.unl.edu ftp.cs.unl.edu sphygmomanometer.unl.edu 
  1124.  
  1125. prints: 
  1126.  
  1127.   cse.unl.edu 129.93.33.1 
  1128.  
  1129.   typhoon.unl.edu 129.93.33.24 
  1130.  
  1131.   sphygmomanometer.unl.edu 129.93.33.126 
  1132.  
  1133. There is also a more detailed option, enabled with -v, i.e.: 
  1134.  
  1135.   lookup -v cse.unl.edu ftp.cs.unl.edu 
  1136.  
  1137.    prints: 
  1138.  
  1139.      cse.unl.edu: 
  1140.  
  1141.         Name: cse.unl.edu 
  1142.  
  1143.         Address: 129.93.33.1 
  1144.  
  1145.      ftp.cs.unl.edu: 
  1146.  
  1147.         Name: typhoon.unl.edu 
  1148.  
  1149.         Alias: ftp.cs.unl.edu 
  1150.  
  1151.         Address: 129.93.33.24  You can also give IP addresses, so this would 
  1152. work too: 
  1153.  
  1154.      lookup 129.93.33.24 
  1155.  
  1156.    prints: 
  1157.  
  1158.      typhoon.unl.edu 129.93.33.24 
  1159.  
  1160.  
  1161. ΓòÉΓòÉΓòÉ 13.28. lpage  -- Views local file one page at a time ΓòÉΓòÉΓòÉ
  1162.  
  1163. The lpage command views a local file one page at a time. By default, the 
  1164. program uses your pager program to view the files. You can choose to use the 
  1165. built-in pager by using the -b flag. Example: 
  1166.  
  1167.   lpage -b ~/.ncftp/bookmarks 
  1168.  
  1169.  
  1170. ΓòÉΓòÉΓòÉ 13.29. lpwd  -- Print local current directory ΓòÉΓòÉΓòÉ
  1171.  
  1172. The lpwd command is prints the current local directory. Use this command when 
  1173. you forget where you are on your local machine. 
  1174.  
  1175.  
  1176. ΓòÉΓòÉΓòÉ 13.30. ls  -- Remote brief directory listing ΓòÉΓòÉΓòÉ
  1177.  
  1178. The ls command prints a brief directory listing. It tries to behave like UNIX's 
  1179. /bin/ls -CF command. If the remote server seems to be a UNIX host, you can also 
  1180. use the same flags you would with ls, for instance    ls -rt  would try to act 
  1181. like    /bin/ls -CFrt  would on UNIX. 
  1182.  
  1183.  
  1184. ΓòÉΓòÉΓòÉ 13.31. mget  -- Multiple get ΓòÉΓòÉΓòÉ
  1185.  
  1186. This command is obsolete with NcFTP 2.3.0. Refer to the get command. 
  1187.  
  1188.  
  1189. ΓòÉΓòÉΓòÉ 13.32. mkdir  -- Make Remote Directory ΓòÉΓòÉΓòÉ
  1190.  
  1191. The mkdir command tries to create a new directory on the remote host. For many 
  1192. public archives, you won't have the proper access permissions to do that. 
  1193.  
  1194.  
  1195. ΓòÉΓòÉΓòÉ 13.33. more  -- Views remote file one page at a time ΓòÉΓòÉΓòÉ
  1196.  
  1197. Views a file from the remote host one page at a time 
  1198.  
  1199.  
  1200. ΓòÉΓòÉΓòÉ 13.34. mput  -- Multiple puts ΓòÉΓòÉΓòÉ
  1201.  
  1202. The mput command is there in case you need to upload multiple files to remote 
  1203. hosts. For example, if you wanted to send some files to a remote host, you 
  1204. could do:    lcd ~/docs/files    mput 02.txt 03.txt 05.txt 07.txt 11.txt  The 
  1205. mput command won't work if you don't have the proper access permissions on the 
  1206. remote host. Also, this command doesn't have any of the special features that 
  1207. the get command has, except for the -z option.  This command is obsolete in 
  1208. NcFTP 2.3.0, please refer to the put command. 
  1209.  
  1210.  
  1211. ΓòÉΓòÉΓòÉ 13.35. open  -- Opens a connections with remote host ΓòÉΓòÉΓòÉ
  1212.  
  1213. The open command connects you to a remote host. Many times, you will simply 
  1214. open a host without using any flags, but nonetheless the open command has some 
  1215. flags to enable certain features. 
  1216.  
  1217. To force an anonymous open, use the -a flag. On the ftp.probe.net machine, 
  1218. which is the official archive site for NcFTP, You may have a need to use both 
  1219. anonymous logins and user logins. The Bookmark Editor remembers type of login 
  1220. you used last, so if the last time was a user login, you could use the -a flag 
  1221. to switch back to the anonymous login type without having to use the Bookmark 
  1222. Editor to change that. 
  1223.  
  1224. Likewise, you could use the -u flag to force a user open. Then you could give 
  1225. your account name and password to access that account. 
  1226.  
  1227. Many of the big archive sites like wuarchive.wustl.edu are busy, so you aren't 
  1228. guaranteed a connection to them. The program lets you redial sites 
  1229. periodically, until a connection succeeds. Use the -r 
  1230.  
  1231. Redial itself has a few parameters. You can set the delay, in seconds, of the 
  1232. time spent waiting between redials. You can also have the program give up after 
  1233. a maximum number of redials is reached. Here's an example that fully utilizes 
  1234. redial mode: 
  1235.  
  1236.    open -r -d 75 -g 10 bowser.nintendo.co.jp 
  1237.  
  1238. The -r turns on redialing, the -d sets the redial delay to 75 seconds, and the 
  1239. -g flag limits redialing to 10 tries. If you like, you can just trust the 
  1240. default redial settings and only use -r. 
  1241.  
  1242. The open command will run the Bookmark Editor if you don't supply a hostname to 
  1243. open. You can use the Bookmark Editor to select a host and open it by hitting 
  1244. the return key. 
  1245.  
  1246. Syntax: 
  1247.  
  1248.    Flags: 
  1249.  
  1250.      -a   : Open anonymously. 
  1251.  
  1252.      -u   : Open with username and password prompt. 
  1253.  
  1254.      -p X  : Use port number X when opening. 
  1255.  
  1256.      -r   : Redial until connected. 
  1257.  
  1258.      -d X  : Redial, delaying X seconds between tries. 
  1259.  
  1260.      -g X  : Give up after X redials without connection. 
  1261.  
  1262.     Examples: 
  1263.  
  1264.      open sphygmomanometer.unl.edu 
  1265.  
  1266.      open -u bowser.nintendo.co.jp 
  1267.  
  1268.      open -r -d 75 -g 10 sphygmomanometer.unl.edu 
  1269.  
  1270.  
  1271. ΓòÉΓòÉΓòÉ 13.36. page  -- Browse remote file one page at a time ΓòÉΓòÉΓòÉ
  1272.  
  1273. The page command lets you browse a remote file one page at a time. This is 
  1274. useful for reading README's on the remote host without downloading them first. 
  1275. This command uses whatever program you have set the pager field in the 
  1276. Preferences screen to view the file. 
  1277.  
  1278.  
  1279. ΓòÉΓòÉΓòÉ 13.37. pdir  -- Remote detailed directory viewed thru pager ΓòÉΓòÉΓòÉ
  1280.  
  1281. The pdir and pls commands are equivalent to dir and ls respectively, only they 
  1282. feed their output to your pager. These commands are primarily for line mode 
  1283. because directory listings can scroll offscreen. If you do a normal ls while in 
  1284. visual mode, if it would go offscreen, the built-in pager kicks in 
  1285. automatically. Therefore it is not recommended to use pdir and pls while in 
  1286. visual mode. 
  1287.  
  1288.  
  1289. ΓòÉΓòÉΓòÉ 13.38. pls  -- Remote brief directory viewed thru pager ΓòÉΓòÉΓòÉ
  1290.  
  1291. The pdir and pls commands are equivalent to dir and ls respectively, only they 
  1292. feed their output to your pager. These commands are primarily for line mode 
  1293. because directory listings can scroll offscreen. If you do a normal ls while in 
  1294. visual mode, if it would go offscreen, the built-in pager kicks in 
  1295. automatically. Therefore it is not recommended to use pdir and pls while in 
  1296. visual mode. 
  1297.  
  1298.  
  1299. ΓòÉΓòÉΓòÉ 13.39. predir -- Redisplay remote directory thru pager ΓòÉΓòÉΓòÉ
  1300.  
  1301. The redir and predir commands give you a way to re-display the last directory 
  1302. listing. The program saves the output from the last dir or ls command you did, 
  1303. so if you want to see it again you can do this without wasting network 
  1304. bandwidth. The predir command is the same as redir, except that the output is 
  1305. fed to your pager. 
  1306.  
  1307.  
  1308. ΓòÉΓòÉΓòÉ 13.40. prefs -- Configure NcFTP's Options ΓòÉΓòÉΓòÉ
  1309.  
  1310. Lets you configure the program's settings (Visual mode only) 
  1311.  
  1312.  
  1313. ΓòÉΓòÉΓòÉ 13.41. put -- Upload file to remote host ΓòÉΓòÉΓòÉ
  1314.  
  1315. The put command allows you to upload files to a remote host. For example, if 
  1316. you wanted to send some files to a remote host, you could do: 
  1317.  
  1318.    lcd ~/docs/files
  1319.    put 02.txt 03.txt 05.txt 07.txt 11.txt
  1320.  
  1321. The put command won't work if you don't have the proper access permissions on 
  1322. the remote host. Also, this command doesn't have any of the special features 
  1323. that the get command has, except for the -z option. 
  1324.  
  1325. Syntax 
  1326.  
  1327.   put [-flags] file1 [file2...] sends a file to the remote host
  1328.  
  1329.    Flags:
  1330.  
  1331.     -z   : Send the local file X, and name the remote copy to Y.
  1332.  
  1333.    Examples:
  1334.     put README
  1335.     put -z ~/junk/windows-init-file WIN.INI
  1336.  
  1337.  
  1338. ΓòÉΓòÉΓòÉ 13.42. pwd -- Print current remote working directory ΓòÉΓòÉΓòÉ
  1339.  
  1340. The pwd command prints the current remote working directory. In visual mode, 
  1341. this is in the status bar. 
  1342.  
  1343.  
  1344. ΓòÉΓòÉΓòÉ 13.43. redir -- Redisplay remote directory ΓòÉΓòÉΓòÉ
  1345.  
  1346. The redir and predir commands give you a way to re-display the last directory 
  1347. listing. The program saves the output from the last dir or ls command you did, 
  1348. so if you want to see it again you can do this without wasting network 
  1349. bandwidth. The predir command is the same as redir, except that the output is 
  1350. fed to your pager. 
  1351.  
  1352.  
  1353. ΓòÉΓòÉΓòÉ 13.44. rename -- Rename remote file ΓòÉΓòÉΓòÉ
  1354.  
  1355. If you need to change the name of a remote file, you can use the rename 
  1356. command, like: 
  1357.  
  1358.   rename SPHYGMTR.TAR sphygmomanometer-2.3.1.tar 
  1359.  
  1360.  
  1361. ΓòÉΓòÉΓòÉ 13.45. rglob -- Test remote for wildcard matching ΓòÉΓòÉΓòÉ
  1362.  
  1363. Tests remote filename wildcard matching 
  1364.  
  1365.  
  1366. ΓòÉΓòÉΓòÉ 13.46. q -- Quit NcFTP ΓòÉΓòÉΓòÉ
  1367.  
  1368. Quits NcFTP 
  1369.  
  1370.  
  1371. ΓòÉΓòÉΓòÉ 13.47. quit -- Quit NcFTP ΓòÉΓòÉΓòÉ
  1372.  
  1373. Of course, when you finish using the program, type quit to end the program (You 
  1374. could also use bye, exit or ^D). 
  1375.  
  1376.  
  1377. ΓòÉΓòÉΓòÉ 13.48. quote -- Send commands to remote host ΓòÉΓòÉΓòÉ
  1378.  
  1379. The quote command can be used to send a direct FTP Protocol command to the 
  1380. remote server. Generally this isn't too useful to the average user (or me 
  1381. either). 
  1382.  
  1383.  
  1384. ΓòÉΓòÉΓòÉ 13.49. rhelp -- Display remote host help ΓòÉΓòÉΓòÉ
  1385.  
  1386. The rhelp command sends a help request to the remote server. The list of FTP 
  1387. Protocol commands is often printed, and sometimes some other information that 
  1388. is actually useful, like how to reach the site administrator. 
  1389.  
  1390. Depending on the remote server, you may be able to give a parameter to the 
  1391. server also, like: 
  1392.  
  1393.   rhelp NLST 
  1394.  
  1395. One server responded: 
  1396.  
  1397.   Syntax: NLST [ <sp> path-name ] 
  1398.  
  1399.  
  1400. ΓòÉΓòÉΓòÉ 13.50. rm -- Remove a remote file ΓòÉΓòÉΓòÉ
  1401.  
  1402. If you need to delete a remote file you can try the rm command. Much of the 
  1403. time this won't work because you won't have the proper access permissions. This 
  1404. command doesn't accept any flags, so you can't nuke a whole tree by using -rf 
  1405. flags like you can on UNIX. 
  1406.  
  1407.  
  1408. ΓòÉΓòÉΓòÉ 13.51. rmdir -- Remove a remote directory ΓòÉΓòÉΓòÉ
  1409.  
  1410. Similarly, the rmdir command removes a directory. Depending on the remote 
  1411. server, you may be able to remove a non-empty directory, so be careful. 
  1412.  
  1413.  
  1414. ΓòÉΓòÉΓòÉ 13.52. set -- Set NcFTP options ΓòÉΓòÉΓòÉ
  1415.  
  1416. The set command is provided for backward compatibility with older versions of 
  1417. the program, and is superseded by the prefs command. The basic syntax is: 
  1418.  
  1419.    set option value 
  1420.  
  1421. Where the option is the short name of the corresponding field in the 
  1422. Preferences screen. The short names of the preferences fields can be found by 
  1423. browsing your ~/.ncftp/prefs file. This command is mainly for use with line 
  1424. mode , but since that mode is no longer officially supported, The use of these 
  1425. commands should be discouraged. 
  1426.  
  1427. The list of valid set options are: 
  1428.  
  1429.         anonopen              Default open mode:
  1430.         anonpass              Anonymous password:
  1431.         blank-lines           Blank lines between cmds:
  1432.         ftp-mode              Default FTP mode:
  1433.         logsize               User log size:
  1434.         maxbookmarks          Max bookmarks to save:
  1435.         pager                 Pager:
  1436.         progress-meter        Progress meter:
  1437.         remote-msgs           Remote messages:
  1438.         startup-lcwd          Startup in Local Dir:
  1439.         startup-msgs          Startup messages:
  1440.         timeout               Network timeout:
  1441.         trace                 Trace logging:
  1442.         utime                 File timestamps:
  1443.         visual                Screen graphics:
  1444.         redialattempts        Redial Attempts:
  1445.         redialpause           Pause Between Redials:
  1446.         pagenewwin            Pager in Separate Window:
  1447.         quiet-mode            Turns on/off the beep:
  1448.         background-fullscreen Spawns viewer in Full Screen Session:
  1449.  
  1450.  
  1451. ΓòÉΓòÉΓòÉ 13.53. site -- Send site specific command to remote host ΓòÉΓòÉΓòÉ
  1452.  
  1453. One obscure command you may have to use someday is site. The FTP Protocol 
  1454. allows for site specific commands. These site commands vary of course, but one 
  1455. common sub-command that is useful that some sites support is chmod, i.e.: 
  1456.  
  1457.    site chmod 644 README 
  1458.  
  1459. Try doing one of these to see what the remote server supports, if any: 
  1460.  
  1461.    rhelp SITE    site help 
  1462.  
  1463.  
  1464. ΓòÉΓòÉΓòÉ 13.54. type -- Set transfer type (ascii, binary, image) ΓòÉΓòÉΓòÉ
  1465.  
  1466. You may need to change transfer types during the course of a session with a 
  1467. server. You can use the type command to do this. Try one of these: 
  1468.  
  1469.       type ascii 
  1470.       type binary 
  1471.       type image 
  1472.  
  1473.  
  1474. ΓòÉΓòÉΓòÉ 13.55. verbose -- Sets verbosity level of NcFTP ΓòÉΓòÉΓòÉ
  1475.  
  1476. Sets verbosity mode to 0, 1, 2, or 3 
  1477.  
  1478.  
  1479. ΓòÉΓòÉΓòÉ 13.56. version -- Display NcFTP's version ΓòÉΓòÉΓòÉ
  1480.  
  1481. If you ever need to contact me about the program, please familiarize yourself 
  1482. with the version command. This command dumps a lot of information that tells me 
  1483. which edition of the program you are using, and how it was installed on your 
  1484. system. Here's a way to save the output of this command to a file, so you can 
  1485. send it to me: 
  1486.  
  1487.   version > version.txt 
  1488.  
  1489.  
  1490. ΓòÉΓòÉΓòÉ 14. Special Downloading Features ΓòÉΓòÉΓòÉ
  1491.  
  1492. You probably already know that you use the get command to copy files on the 
  1493. remote host to the local host. But the get command has a few other tricks that 
  1494. you might find useful. First of all, ncftp skips files you already have. If you 
  1495. try to 
  1496.  
  1497.    get file24 
  1498.  
  1499. and there is a file named file24 in the current local directory already, the 
  1500. program uses some additional heuristics to determine if it should actually 
  1501. waste network bandwidth to download it again. 
  1502.  
  1503. The program tries to get the date and size of the remote file file24. If that 
  1504. file has the exact same date and size as the local file file24, the program 
  1505. will skip over that file. If the program could not get the date or size of the 
  1506. remote file, or the size differs, the program will go ahead and fetch the file. 
  1507.  
  1508. In addition, if the local file's date is newer than the remote file's date, the 
  1509. program skips the download because it concludes you already have a more recent 
  1510. version. 
  1511.  
  1512. What all this means for you is that you can use the program to mirror another 
  1513. archive. For example, you might have a task that requires you keep a mirror of 
  1514. all the files of a remote directory called files. In that directory, there 
  1515. might be dozens of files, some of which are updated occasionally. You could use 
  1516. ncftp to help you out by setting the appropriate local and remote directories, 
  1517. then simply doing: 
  1518.  
  1519.    get * 
  1520.  
  1521. The program will skip over the old files, and only download the files that you 
  1522. don't have or have been updated since the last time. 
  1523.  
  1524. Nonetheless, you may want to ignore the program's advice and download a file 
  1525. anyway, despite the program's thinking that you don't need to. You can use the 
  1526. -f flag with get to force a download: 
  1527.  
  1528.    get -f README 
  1529.  
  1530. You may also need to use the -C flag to force the program to continue 
  1531. downloading where it left off. This feature is called forced reget for 
  1532. historical reasons. 
  1533.  
  1534. You can also turn off wildcard matching with get by using the - G flag. Other 
  1535. FTP programs used the syntax 
  1536.  
  1537.    get remote-file [local-file] 
  1538.  
  1539. which allowed you to specify a local pathname for the file you were trying to 
  1540. download. NcFTP differs in that respect, and if you used the older programs, 
  1541. you would find that the program's behaves get more like those other program's 
  1542. mget command. This means that in NcFTP,that 
  1543.  
  1544.    get file01 file02 
  1545.  
  1546. tries to download remote files named file01 and file02. If you like, you can 
  1547. get that older behavior by using the -z flag, so: 
  1548.  
  1549.    get -z file01 ../junk/files/01.txt 
  1550.  
  1551. would get file01 and use the local name ../junk/files/01.txt. 
  1552.  
  1553. Another thing that get does is that you can use the -n flag to fetch files that 
  1554. are a certain number of days old or newer. If you just want to get the newest 
  1555. files at an archive, you don't have to use a full mirror. You can just say 
  1556. download all files that are 3 days old or newer. Do that by going to a 
  1557. directory, and trying: 
  1558.  
  1559.    get -n 3 * 
  1560.  
  1561. The program also has reget mode built into the get command. Other FTP programs 
  1562. provided a reget command, which was useful when you lost a connection during a 
  1563. download. Instead of the remote host resending the entire file, you could use 
  1564. the reget command to continue the transfer where it was cut off. 
  1565.  
  1566. NcFTP has this capability built-in, and it examines the date and size of the 
  1567. remote file and local file to determine if the program should continue where it 
  1568. left off last time. If the dates are the same, but the local file is smaller, 
  1569. the program attempts to reget. 
  1570.  
  1571. The last, and most wasteful feature of get is recursive mode, which is turned 
  1572. on with the -R flag. This feature lets you download an entire directory's 
  1573. contents, i.e.: 
  1574.  
  1575.    get -R /pub/info/help 
  1576.  
  1577. That creates a directory called ./help in the current local directory, and 
  1578. copies all files and subdirectories into it. 
  1579.  
  1580. Please use some discretion with this feature. If you get a large directory, you 
  1581. could really bog down the remote host. Archive administrators are providing a 
  1582. public service, so don't abuse the archive so much that they have to shut down 
  1583. public access because the real users of that archive can't get their work done. 
  1584.  
  1585.  
  1586. ΓòÉΓòÉΓòÉ 15. Macros ΓòÉΓòÉΓòÉ
  1587.  
  1588. The program has a simple macro/alias facility. You can use macros to roll your 
  1589. own commands, or do things when certain events happen. 
  1590.  
  1591. To use macros, you will need to create and edit the macros file in your .ncftp 
  1592. subdirectory of your home directory. Your ~/.ncftp directory is created for you 
  1593. automatically the first time you run the program, but you have to make the 
  1594. macros file yourself since most users won't have a need for them. 
  1595.  
  1596. You can have any number of macros. The syntax is: 
  1597.  
  1598.        macro macro-name
  1599.             macro-body...
  1600.        end
  1601.  
  1602. Here's a simple macro that users of the old ftp program might appreciate: 
  1603.  
  1604.        macro binary
  1605.             type i
  1606.        end
  1607.  
  1608. You could run that macro simply by running the program and typing the macro 
  1609. name as if it were a regular ncftp command. 
  1610.  
  1611. Macros can also have parameters, much like the Korn Shell's shell functions and 
  1612. the C-Shell's aliases. These parameters are sent to your macro, and if your 
  1613. macro uses the appropriate dollar variables, they are expanded. To illustrate, 
  1614. try this macro: 
  1615.  
  1616.        macro cdls
  1617.             cd $1
  1618.             ls
  1619.        end
  1620.  
  1621. To run that macro, open a connection and try: 
  1622.  
  1623.     cdls /pub 
  1624.  
  1625. That would try to cd to /pub, and then try to list its contents with ls. 
  1626.  
  1627. Dollar variables are somewhat like those in the Bourne and Korn shells. Example 
  1628. syntax: 
  1629.  
  1630.        $4      : Argument4
  1631.        $*      : All arguments.
  1632.        $@      : All arguments, each of them surrounded by double quotes.
  1633.        $(2-5)  : Arguments 2, 3, 4, and 5.
  1634.        $(2,5)  : Arguments 2 and 5.
  1635.        $(3+)   : Arguments 3, 4, 5, ..., N.
  1636.  
  1637. A better way to code the cdls macro might be: 
  1638.  
  1639.        macro cdls
  1640.             cd $1
  1641.             ls $(2+)
  1642.        end
  1643.  
  1644. There are some special macros, called event macros . The program looks for 
  1645. macros by special names, and if they exist, runs the macro when that event 
  1646. happens. 
  1647.  
  1648. One event macro is the .start.ncftp macro. If you have a macro by that name 
  1649. defined in your macros file, the program will run that macro each time you run 
  1650. the program. 
  1651.  
  1652. Similarly, there is also a .quit.ncftp macro that is run each time you quit the 
  1653. program. 
  1654.  
  1655. Another set of event macros are site-specific. For example, if you have a site 
  1656. bookmarked as typhoon You could then define macros named .open.typhoon and 
  1657. .close.typhoon which would run each time you opened and closed typhoon. 
  1658.  
  1659. Another, more generic set of event macros are the .open.any and .close.any 
  1660. macros which run when you open or close any site. One possible use for these 
  1661. macros is to run separate shell scripts to do some processing after you finish 
  1662. using a site. You could have a macro like this: 
  1663.  
  1664.      macro .quit.ncftp
  1665.           echo "Started post-processing downloads at %H:%M:%S"
  1666.           !sh ~/scripts/download-decoder
  1667.           echo "Finished post-processing downloads at %H:%M:%S"
  1668.      end
  1669. Another use is to duplicate the old macdef init hack that the traditional ftp 
  1670. program used in its .netrc file. For example: 
  1671.  
  1672.      macro .open.infomac
  1673.           echo "Getting recent files list"
  1674.           get -z /pub/info-mac/help/recent-files ~/docs/recent
  1675.           ls -lrt
  1676.      end
  1677.  
  1678.  
  1679. ΓòÉΓòÉΓòÉ 16. Using Colon Mode ΓòÉΓòÉΓòÉ
  1680.  
  1681.  The colon-mode feature is used from your shell's command line. 
  1682.  
  1683. In ancient times, way back during the Disco Era, you could use a program called 
  1684. tftp to fetch a file using the Internet standard Trivial File Transfer 
  1685. Protocol. You could use that program to do something like this from within its 
  1686. shell: 
  1687.  
  1688.    get wuarchive.wustl.edu:/graphics/gif/README 
  1689.  
  1690. and that would call wuarchive and fetch the README file. 
  1691.  
  1692. You can use this program to do the same thing from your shell's command line: 
  1693.  
  1694.      csh> ncftp wuarchive.wustl.edu:/graphics/gif/README
  1695.      csh> head README
  1696.  
  1697. This tells your shell, in this case the C-shell to run NcFTP, which would open 
  1698. wuarchive, fetch /graphics/gif/README and write the file /README in the current 
  1699. working directory, and then exits. 
  1700.  
  1701. The colon-mode feature is nice if you don't want to browse around the remote 
  1702. site, and you know exactly want you want. It also comes in handy in shell 
  1703. scripts, where you don't want to enter the command shell, and might not want 
  1704. the program to spew output. 
  1705.  
  1706. You can use the Uniform Resource Locator standard also. For example, this would 
  1707. work: 
  1708.  
  1709.      csh> ncftp ftp://wuarchive.wustl.edu/graphics/gif/README
  1710.  
  1711. There are times where you might not want the program to write a colon-mode file 
  1712. in the current working directory, or perhaps you want to pipe the output of a 
  1713. remote file into something else. Colon-mode has options to do this. It was 
  1714. inspired by the guy who wrote the ftpcat perl script. The -c option tells the 
  1715. program to write on the standard output stream. The -m option pipes the file 
  1716. into your pager (like ). Of course this won't work if the more thing you give 
  1717. colon-mode is a directory! This example just dumps a remote file to stdout: 
  1718.  
  1719.      csh> ncftp -c wuarc:/graphics/gif/README
  1720.  
  1721. This example redirects a remote file into a different location: 
  1722.  
  1723.      csh> ncftp -c wu:/README > ~pdietz/thesis.tex
  1724.  
  1725. This one shows how to use a pipeline: 
  1726.  
  1727.      csh> ncftp -c wuarc:/README | tail | wc -l 10
  1728.      csh>
  1729.  
  1730. This shows how to page a remote file: 
  1731.  
  1732.      csh> ncftp -m wuarc:/graphics/gif/README
  1733.  
  1734. CAUTION:
  1735. NcFTP will place files in the current directory when using colon mode.
  1736.  
  1737.  
  1738. ΓòÉΓòÉΓòÉ 17. Using Line Mode ΓòÉΓòÉΓòÉ
  1739.  
  1740. The only reason line mode is provided is so that the primitive operating 
  1741. systems whose curses library is missing or dysfunctional won't render the 
  1742. program completely useless. 
  1743.  
  1744. exceptions of the functions that require visual mode, such as the Preferences 
  1745. screen and the Bookmark Editor . You will have to edit the ~/.ncftp/prefs and 
  1746. ~/.ncftp/bookmarks file manually, with a text editor. 
  1747.  
  1748. As a small consolation, you get to use the full-powered line- editing 
  1749. libraries, like GNU Readline if they were compiled with the program. 
  1750.  
  1751.  
  1752. ΓòÉΓòÉΓòÉ 18. Summary of Command Line Options ΓòÉΓòÉΓòÉ
  1753.  
  1754. When you invoke the program from your shell, there are dash flags you can use 
  1755. like you can with most other UNIX programs. 
  1756.  
  1757. Here's a list of options you can use from the command line: 
  1758.  
  1759.      -D   : Turns on debugging mode and tracing.
  1760.      -V   : Uses visual mode for this session.
  1761.      -L   : Uses line mode for this session.
  1762.      -H   : Prints the information from the version command and exits.
  1763.  
  1764. When you turn on tracing, the program writes a log with debugging information 
  1765. to a file called trace in your subdirectory of .ncftp your home directory. If 
  1766. you need to report a bug, it would be helpful to mail me the file so I can 
  1767. track it down better. trace 
  1768.  
  1769. In addition to the program flags, you can also use flags from the open and get 
  1770. commands with a colon mode path. Here's a really complex example: 
  1771.  
  1772.      csh> ncftp -r -d 120 -n 3 sphygmomanometer.unl.edu:/pub/stuff/*
  1773.  
  1774. This tries redialing that host every two minutes, and fetching all files from 
  1775. the /pub/stuff directory that are 3 days old or newer. 
  1776.  
  1777.  
  1778. ΓòÉΓòÉΓòÉ 19. Author ΓòÉΓòÉΓòÉ
  1779.  
  1780. NcFTP was written by Mike Gleason, NCEMRSoft (mgleason@probe.net). NcFTP is 
  1781. copyrighted 1995 by NCEMRSoft. All rights reserved. 
  1782.  
  1783. As of this writing, the most recent version is archived in /pub/ncftp, on 
  1784. ftp.probe.net. 
  1785.  
  1786. The OS/2 Port of NcFTP v2.3.0 was done by Mark R. Evans (mevans@ecsnet.com). 
  1787.  
  1788.  
  1789. ΓòÉΓòÉΓòÉ 20. Thanks ΓòÉΓòÉΓòÉ
  1790.  
  1791. Ideas and some code contributed by my partner, Phil Dietz, NCEMRSoft 
  1792. (dietz@wtc.com). 
  1793.  
  1794. Thanks to everyone who has helped test the program, and sent in feedback over 
  1795. the years. Your support is what drives me to improve the program! 
  1796.  
  1797. I'd like to thank my former system administrators, most notably Charles Daniel, 
  1798. for making testing on a variety of platforms possible, letting me have some 
  1799. extra disk space, and for maintaining the UNL FTP site. 
  1800.  
  1801. I also thank Dale Botkin and Tim Russell at Probe Technology, for giving ncftp 
  1802. a home on probe.net, the midwest's best connection to the internet. 
  1803.  
  1804. For testing above and beyond the call of duty, I am especially grateful to: 
  1805. Phil Dietz, Kok Hon Yin (hkok@cse.unl.edu), Andrey A. Chernov 
  1806. (ache@astral.msk.su). 
  1807.  
  1808. Thanks to Tim MacKenzie (t.mackenzie@trl.oz.au) for the filename completion 
  1809. code. 
  1810.  
  1811. Thanks to DaviD W. Sanderson (dws@ssec.wisc.edu), for helping me out with the 
  1812. man page. 
  1813.  
  1814.  
  1815. ΓòÉΓòÉΓòÉ 21. Thanks From Mark Evans ΓòÉΓòÉΓòÉ
  1816.  
  1817. I would like to thank Eberhard Mattes for his emx development environment. 
  1818. Without his efforts, this port would not be possible. 
  1819.  
  1820. Also, I would like to thank Steve Willer for his original port of NcFTP v1.9.3. 
  1821. He did an excellent job and came up with some inovative ideas which I have 
  1822. included with this port. 
  1823.  
  1824. Last but not least, the group that helped me beta test this port and put up 
  1825. with my programming errors and almost daily betas: 
  1826.  
  1827.      macwarp@ix.netcom.com    John McNamara
  1828.      bob@bridge.net           Bob Lyons
  1829.      oscar@primenet.com       Oscar Fowler
  1830.      gunter@htlsun1.fzk.de    Gunter Spranz
  1831.      acowan@uoguelph.ca       Andrew Cowan
  1832.      rob@iconz.co.nz          Rob
  1833.      beaufour@mailhost.net    Allan Beaufour Larsen
  1834.      phydoux@utw.com          Michael Monsen
  1835.      satori@ibm.com           Patrick McKane
  1836.      morpheaus@kuwait.net     Ahmad Al-Nusif
  1837.  
  1838.  
  1839. ΓòÉΓòÉΓòÉ 22. Bugs ΓòÉΓòÉΓòÉ
  1840.  
  1841. Due to a limitation in the curses library, scrolling may be slow in visual 
  1842. mode. 
  1843.  
  1844. Shell escapes, suspending (^Z) and resuming, and interruping (^C) still have 
  1845. quirks with visual mode. 
  1846.  
  1847. There are no such sites named bowser.nintendo.co.jp or 
  1848. sphygmomanometer.unl.edu. 
  1849.  
  1850.  
  1851. ΓòÉΓòÉΓòÉ 23. Bugs in the OS/2 Port ΓòÉΓòÉΓòÉ
  1852.  
  1853. During a transfer, Ctrl-C will abort the transfer. Subsequent Ctrl-C's from a 
  1854. transfer will close the connection with the host. 
  1855.  
  1856.                                 * * *
  1857.  
  1858.        ALL BUG REPORTS FOR THE OS/2 PORT OF NcFTP V2.3.0 SHOULD
  1859.               BE SENT TO Mark Evans (mevans@ecsnet.com)
  1860.  
  1861.                                 * * *
  1862.  
  1863.  
  1864. ΓòÉΓòÉΓòÉ 24. Revision History ΓòÉΓòÉΓòÉ
  1865.  
  1866. 02-17-96   Release 2.3.0.OS2 Beta 9 Public Beta 
  1867.  
  1868.      Fix: The new 'auto-reget' feature added in Beta 8 broke the forced 
  1869.       overwrite function.  This has been fixed and the auto-reget code has been 
  1870.       enhanced to be a little smarter. 
  1871.  
  1872.      Chg: Fixed NcFTP's ability to display DBCS.  This should allow Chineese 
  1873.       character sets to be displayed properly.  Please provide feedback if this 
  1874.       does not work. 
  1875.  
  1876.      Add: Added firewall.txt document.  This better documents how to run NcFTP 
  1877.       behind a firewall or gateway. 
  1878.  
  1879.      Chg: NcFTP is now much smarter about determining your home directory 
  1880.       (where it places it's config files). 
  1881.  
  1882.       If you have a conflict with the HOME environment var, you can use 
  1883.       NCFTPDIR instead. 
  1884.  
  1885.       If you do not have a HOME or NCFTPDIR environment var set, NcFTP will 
  1886.       default to the ETC environment variable. If it is not set, NcFTP will 
  1887.       display a warning message that it cannot find a home and will not save 
  1888.       preferences. 
  1889.  
  1890.      Fix: In the last release, I thought I had fixed the problem with pag 
  1891.       *.txt not pausing between files.  Under certain circumstances, this still 
  1892.       didn't work.  It should now function properly. 
  1893.  
  1894.      Chg: If you change your download directory in the prefs screen, NcFTP 
  1895.       immediately changes to that new directory. 
  1896.  
  1897.      Chg: Changed the .SUBJECT extended attribute to be an ftp URL showing 
  1898.       where the file was ftp'ed from. 
  1899.  
  1900.      Chg: Before, NcFTP would query the file system, if it was not equal to 
  1901.       HPFS it would use FAT naming conventions. Now, NcFTP checks if FAT, if 
  1902.       not, uses long names. 
  1903.  
  1904.      Fix: Local directory commands such as LLS were broken when using CMD.EXE 
  1905.       as the shell. 
  1906.  
  1907.  02-03-96   Release 2.3.0.OS2 Beta 8 Public Beta 
  1908.  
  1909.      Fix: Although the original documentation from the Unix version of NcFTP 
  1910.       v2.3.0 claimed that reget was automatic, it was never implemented in the 
  1911.       code.  Reget support is only there if you specify the -C switch on the 
  1912.       get command.  I have added support for automatic reget and it should work 
  1913.       without adding the -C command line switch.  If there are any problems 
  1914.       with this, please let me know. 
  1915.  
  1916.      Fix: Passive mode did not work properly for those running behind a 
  1917.       firewall.  I believe this is fixed now, if not PLEASE let me know. 
  1918.  
  1919.      Fix: page *.txt when using more.com as the pager would not pause at end 
  1920.       of the file. 
  1921.  
  1922.      Fix: Bookmark editor allows you to jump to host names by using uppercase 
  1923.       letters.  This did not work properly when bookmark names had uppercase 
  1924.       names. 
  1925.  
  1926.      Fix: bdir would not reset the output to stdout when host transmission was 
  1927.       interrupted.  Output would go to the second window. 
  1928.  
  1929.      Fix: Prefs - Q -Redial Pause time would default to 60 seconds when you 
  1930.       specified 0 as the delay time. 
  1931.  
  1932.      Add: Added a new 'hidden' option:  background-fullscreen If you add 
  1933.       background-fullscreen 1 to your prefs file, all b* commands (bdir, bpage, 
  1934.       etc), will spawn a full screen session instead of a window. 
  1935.  
  1936.      Add: F1 key will now call "view ncftp.inf" from within NcFTP. 
  1937.  
  1938.      Fix: Under certain conditions, editing the bookmarks file would cause the 
  1939.       program to trap. 
  1940.  
  1941.      Fix: All keypad keys now work. 
  1942.  
  1943.      Fix: When lines wrapped, NcFTP would not properly count them and you 
  1944.       would loose a line from the display. 
  1945.  
  1946.      Add: Included an icon for NcFTP in the release archive. 
  1947.  
  1948.  01-27-96   Release 2.3.0.OS2 Beta 7 Public Beta 
  1949.  
  1950.      Chg: Moved NcFTP Documentation to an OS/2 .inf file. 
  1951.  
  1952.      Chg: Improved NcFTP's process semaphore handling. 
  1953.  
  1954.      Fix: NcFTP would open files in ASCII mode on systems that do not support 
  1955.       the SIZE or MDTM commands. 
  1956.  
  1957.      Fix: NcFTP no longer requires GNU File Utilities to work. It now uses 
  1958.       OS/2's internal commands (or 4OS2's). 
  1959.  
  1960.      Fix: pls and pdir caused a [Hit Return] to be printed when it was not 
  1961.       necessary. 
  1962.  
  1963.      Fix: If you do a 'forced reget' on a site that does not support this 
  1964.       command, the Stat Progress Meter would not display the correct download 
  1965.       count. 
  1966.  
  1967.      Enh: Added 'quiet-mode' to preferences file. When set to 1 (TRUE), it 
  1968.       will supress all beeps that NcFTP uses to alert you of something. 
  1969.  
  1970.       To turn this option on, you must manually edit the $(HOME)\.ncftp\prefs 
  1971.       file and put the line: 
  1972.  
  1973.             quiet-mode 1 
  1974.  
  1975.       Sorry, but I'm out of room on the preferences screen! 
  1976.  
  1977.      Chg: When aborting a long directory listing, NcFTP actually has to 
  1978.       complete the transfer.  I have added a msg that displays when you hit 'q' 
  1979.       stating that the transfer is aborting. 
  1980.  
  1981.      Enh: Added option to hosts editor to Save Directory on Exit. Each time 
  1982.       you log into an ftp site, the directory you were last in is saved.  If 
  1983.       you do not want NcFTP to save the last directory, and always use the 
  1984.       directory specified in the 'Directory' field, set 'Save Dir on Exit' to 
  1985.       'NO'. 
  1986.  
  1987.      Add: Wrote a small utility to convert your old v1.9.3 ncrecent file into 
  1988.       a v2.3.0 ~/.ncftp/bookmarks file. 
  1989.  
  1990.       This utility will add to, not delete your existing bookmarks file. 
  1991.  
  1992.       Pgm Name: ncf-1to2.exe 
  1993.  
  1994.  01-22-96   Release 2.3.0.OS2 Beta 6 - Public Beta 
  1995.  
  1996.      Fix: Changed error message on domain name not found to tell user to set 
  1997.       domain name. 
  1998.  
  1999.      Fix: Ctrl-C would exit NcFTP. 
  2000.  
  2001.      Fix: When re-dialing, you would have to hit Ctrl-C multiple times to stop 
  2002.       re-dialing.  Also, it would sometimes completely abort NcFTP. 
  2003.  
  2004.  01-21-96   Release 2.3.0.OS2 Beta 5 
  2005.  
  2006.      Enh: NcFTP is much smarter when dealing with command shells. If you 
  2007.       simply do a ! to shell to OS/2, it will not prompt you to [Hit Enter], 
  2008.       but if you run a command, it will pause so you can see the output. 
  2009.  
  2010.       Also, it automatically senses when you are using the the OS/2 more.com 
  2011.       command and will always prompt you to [Hit Return] when it finishes. 
  2012.  
  2013.      Fix: When using the OS/2 more command for your pager, files were being 
  2014.       transfered in binary mode, not translating the LF to a CRLF, causing the 
  2015.       screen to be unreadable. 
  2016.  
  2017.      Enh: Added transfer mode to all status meters. 
  2018.  
  2019.      Fix: If NcFTP cannot determine the HOSTNAME, it will search the 
  2020.       environment for HOSTNAME=???? and use that value as the hostname. 
  2021.  
  2022.       If NcFTP cannot determine the DOMAIN, it will search the environment for 
  2023.       DOMAIN=??? and use that value as the hostname. 
  2024.  
  2025.      Fix: lpage * would try to display directory names. 
  2026.  
  2027.      Fix: put * would try to send directory names. 
  2028.  
  2029.      Fix: get -R * had problems on certain systems.  I think I have it working 
  2030.       properly all the time. 
  2031.  
  2032.      Fix: NcFTP was not always setting the local file time to that of the 
  2033.       server.  It would set the local time 1 second less than the remote file, 
  2034.       causing re-gets. 
  2035.  
  2036.      Fix: mput or put with multiple files did not work.  I have fixed this in 
  2037.       the code, but it requires that LS.EXE be on your system.  NcFTP gets it's 
  2038.       file info from the output of LS.EXE. 
  2039.  
  2040.      Fix: lpage caused a [Hit Return] when it was opened in another window.  A 
  2041.       few other stray [Hit Return]'s were removed. 
  2042.  
  2043.      Chg: The 'Escape' key now clears the input line like OS/2. 
  2044.  
  2045.      Fix: The keypad Enter key now works. 
  2046.  
  2047.  01-19-96   Release 2.3.0.OS2 Beta 4 
  2048.  
  2049.      Fix: I didn't completely fix the problem with local files being closed 
  2050.       when aborting a transfer. I believe they are all fixed now. 
  2051.  
  2052.      Fix: The Progress Stat Meter is now _REALLY_ fixed. 
  2053.  
  2054.      Fix: Domain name not found error message removed and a work around put 
  2055.       into place. 
  2056.  
  2057.      Fix: Timeouts after transfers.  I have increased the timeout period and 
  2058.       this should solve the problem. 
  2059.  
  2060.      Fix: Ctrl-C only worked on the first open command.  It now works every 
  2061.       time. 
  2062.  
  2063.      Fix: lpage command would not display in a separate window when Pager in 
  2064.       separate window was enabled. 
  2065.  
  2066.      Chg: Now do a clear screen before calling shell. 
  2067.  
  2068.      Chg: Added [Hit Return] after shell commands. 
  2069.  
  2070.  01-17-96   Release 2.3.0.OS2 Beta 3 
  2071.  
  2072.      Fix: Local files were not closed properly when aborting a transfer (only 
  2073.       occured on sites that do not support the ABOR command). 
  2074.  
  2075.      Fix: Progress Stat Meter did not display the proper number of bytes 
  2076.       recieved when doing a reget. 
  2077.  
  2078.      Fix: Could not perform a 'get' after an aborted get. 
  2079.  
  2080.      Fix: Recursive gets on a FAT partition would store the full path in the 
  2081.       extended attribute. 
  2082.  
  2083.      Chg: Talked with the original author, Mike Gleason and we have reached an 
  2084.       agreement on screen changes concerning his name and copyright. 
  2085.  
  2086.      Chg: No longer use the 'i.am.running' file to indicate NcFTP is running. 
  2087.       I'm using OS/2 semaphores, which works much better incase one session 
  2088.       crashes, there is no cleanup required with semaphores, OS/2 closes them 
  2089.       automatically. 
  2090.  
  2091.      Add: Now write: "Retrieved from [hostname]" as the .SUBJECT extended 
  2092.       attribute.  Nice to help you remember where things came from. 
  2093.  
  2094.      Add: Added 3 new items to the preferences screen: 
  2095.  
  2096.                                 Maximum Redials
  2097.                                 Redial Delay
  2098.                                 Pager in new window
  2099.  
  2100.       Max Redials let's you set the auto-redial as the default. If it is set to 
  2101.       anything greater than 1, if you get a 'Max Users logged on' msg from the 
  2102.       host, NcFTP will automatically try again until it is logged in or hits 
  2103.       the maximum number of redials.  This option is also available on a per 
  2104.       'open' instance thru the open command. 
  2105.  
  2106.       Redial Delay is the amount of time to pause between redials. 
  2107.  
  2108.       Pager in new window will start your pager program in a separate window 
  2109.       for all pager related commands, pdir, pls, page, more, etc. 
  2110.  
  2111.  01-15-96   Release 2.3.0.OS2 Beta 2 
  2112.  
  2113.      Fix: There were several places where / was being used on the local 
  2114.       directory or file paths.  I've changed all these to \, I hope.  Also, the 
  2115.       mkdir command was not working, it was passing a -p command switch that is 
  2116.       not valid for OS/2 environments. Gunter found this problem when doing a 
  2117.       get -R * on a directory, Good Work! 
  2118.  
  2119.      Enh: This version is 'colorized'.  You can now edit the colors using the 
  2120.       colors command.  This creates a file called colors in the  ~/.ncftp 
  2121.       directory. 
  2122.  
  2123.       Here's a description of the 4 types of windows you can configure. 
  2124.  
  2125.  
  2126.                   +---------------------------------+
  2127.                   |                                 |
  2128.                   |                                 |
  2129.                   |                                 |
  2130.                   |                                 |
  2131.                   |          List Window            |
  2132.                   |                                 |
  2133.                   |                                 |
  2134.                   |                                 |
  2135.                   |                                 |
  2136.                   +---------------------------------+
  2137.                   |         Status Window           |
  2138.                   +---------------------------------+
  2139.                   |Prompt>   Input Window           |
  2140.                   +---------------------------------+
  2141.  
  2142.      Add: Borrowed some ideas from the original port (v1.9.3 by Steve Willer) 
  2143.       and added the following commands: 
  2144.  
  2145.                         bpage
  2146.                         bls
  2147.                         bdir
  2148.                         bredir
  2149.  
  2150.       These commands display items through your pager, except they open a new 
  2151.       window for the pager.  Very nice for displaying a large directory list in 
  2152.       one window and then grabbing files with NcFTP in it's window. 
  2153.  
  2154.       One anomoly I've noticed, on large directory listings or files, you may 
  2155.       need to page down to the end of the file before NcFTP allows you to enter 
  2156.       commands.  It appears the whole transfer must complete before NcFTP 
  2157.       regains control. 
  2158.  
  2159.  01-13-96   Release 2.3.0.OS2 Beta 1 
  2160.  
  2161.  Completed initial port from Unix.  The following features have been added: 
  2162.  
  2163.      Support for FAT partitions.  NcFTP will create _ncftp directory under the 
  2164.       $HOME directory. 
  2165.  
  2166.      File transfers to FAT partitions that do not conform to the 8.3 naming 
  2167.       convention will have their names munged into something that works for 
  2168.       FAT.  The original filename will be placed in the files extended 
  2169.       attribute. 
  2170.  
  2171.      Local file directories will use \ instead of /. 
  2172.  
  2173.      This version of NcFTP uses the ~ character as the escape character.  The 
  2174.       unix version uses the \. 
  2175.  
  2176.      Transfers will timeout just like the unix version.  But, I may have the 
  2177.       timeouts set too low. 
  2178.