NFTP Frequently Asked Questions


NFTP manual (main part)

Contents

  1. NFTP does not work! (or does not work as advertised)
  2. How do I?

NFTP does not work! (or does not work as advertised)

NFTP says "emx not found"! (OS/2)
You don't have emx runtime package installed. Read INSTALLATION section again.

I have TCP/IP 4.1 and NFTP doesn't work! (OS/2)
Update your emx.dll to 0.9c, fix level 4 or later. Download it from Hobbes // LEO // SAI OS/2 archive.

I use SOCKS and NFTP doesn't work! (OS/2)
Update your emx.dll to 0.9c, fix level 4 or later. Download it from Hobbes // LEO // SAI OS/2 archive.

Supplied translation to my language is UGLY!
Make your own one (and send to me if you like, and I'll package it with new version of NFTP).

I can't use Squid as proxy server for NFTP!
You can't. Squid-style proxies aren't supported.

How do I report bug, missing feature or inconsistency in user interface?
Send a message to the author, Sergey Ayukov. Priority is given to registered customers.

How do I?

How do I download entire directory tree?
For clarity, I will use the following example: download all DOOM ][ add-on levels from ftp.cdrom.com (the directory is /pub/doom2/levels/doom2).

1) Login into ftp.cdrom.com and change to /pub/doom2/levels. Note that now you see the "doom2" directory on the screen.

2) Place the cursor over "doom2" directory and press Ins. NFTP will ask whether you really want to walk the subtree /pub/doom2/levels/doom2 (this question will not be asked if you're already been in all subdirs of /pub/doom2/levels/doom2). Answer Yes (remember that walking e.g. "/pub" on ftp.cdrom.com could take hours or even days if your connection is slow). NFTP will then automatically change into all subdirectories of /pub/doom2/levels/doom2, caching them in the memory. You can interrupt the process with Esc. When finished, the directory under cursor (doom2) will be highlighted.

3) Now if you like, you can change into the subdirectories of /pub/doom2/levels/doom2 manually and remove marks from unwanted parts of the subtree, e.g. /pub/doom2/levels/doom2/deathmatch. Remember to return back to /pub/doom2/levels/doom2 when you have finished. Use Alt-I to verify how many files/bytes you have marked.

4) Start download with Alt-F5. NFTP will ask whether you want to keep original directory structure intact. In general, you should respond Yes; the danger of piling up files is that some of them might have the same name. You can stop transfer with Q, skip files with S. With massive transfers (when transferring more than one file), NFTP enters SmartAppend mode: no questions about reget/rename/overwrite will be asked, the decision is based on sizes and time stamps of local and remote files. When transfer completes, you'll have the mirror of the remote subtree on the local disk (symbolic links are ignored).

How do I upload entire directory tree?
Currently, it is not possible. Wait for next version(s).

How AutoReconnect feature works?
In general, you should not worry about connection at all anymore. E.g., when you going out of home, you just hang up and don't switch machine off. When you come back, you dial your provider again and then start working with NFTP which is still running. Of course, connection is long dead, but when you start transfer or change into directory which was not visited yet, NFTP will automatically log in back and do what was requested. Similarly, when connection dies during transfer, current file gets skipped, NFTP reconnects and proceeds to next file. The main advantage is that information you gathered by travelling through remote directories isn't lost when connection is dropped.

Can I do something with symbolic links on ftp server?
You can try to change to directory they represent. Links pointing at files are useless for you. This is assuming you have disabled symlink resolving ('dereference-links' in nftp.ini), otherwise you just won't see them. This options is used only on Unix ftp servers or servers which say they're Unix (e.g., Penguin ftpd for OS/2 reports it's Unix).

NFTP has crashed and my terminal acts strangely (Unix)
Type "reset" and press Enter. You might not see letters "reset" on the screen but it should do the trick.

How do I do transfer in the background? (Unix)
First, connect to server, mark files and start transfer as usual. Then hit Ctrl-Z. Your shell will say "Stopped nftp". Type "bg" and press Enter. NFTP will continue to run in the background (output will still appear on the screen). You may now logout. When transfer will be completed, NFTP will exit. You can watch transfer progress by typing "ps x".