DOKK / manpages / debian 12 / pvpgn / bnftp.1.en
BNFTP(1) BNETD User's Manual BNFTP(1)

bnftp - Battle.net file transfer client

bnftp [options] [servername [serverport]]

bnftp is a simple program for downloading data files from a bnetd server. These files include tos.txt, upgrade MPQ archives, and ad banners.

If no servername is specified, localhost is assumed. If no serverport is specified, 6112 is assumed.

After the program is started it will connect to the server and then prompt for the filename to download. No directory components may be used in the filename. The file is copied to a file with the same name in the current directory.

Causes bnftp to emulate a Brood Wars client.
Causes bnftp to emulate a specific client. The following client tags are recognized: DRTL DSHR STAR SSHR SEXP W2BN. There are short options which may be used instead for the common clients.
Causes bnftp to emulate a Diablo client.
Print usage information and exit.
Causes bnftp to emulate a Starcraft client.
Print its version number and exit.
Causes bnftp to emulate a Warcraft II BNE client.

The current version is available with the bnetd distribution at:

http://www.bnetd.org/

This program assumes that the terminal will move to the beginning of the current line when the carriage return character (^M) is printed. It also assumes the backspace character (^H) will move one column to the left that character printed after that will replace those already on the screen.

The terminal settings are not consulted for keybindings. The following are assumed:

^H
delete the character to the left of the cursor
^J
accept current line
^M (return)
accept current line
^T
transpose the last two characters
^W
delete word to the left of the cursor
^U
delete the whole input line
^[ (escape)
cancel the current input line
^? (delete)
delete the character to the left of the cursor

bnetd(1)

Ross Combs (ross@bnetd.org)

11 June, 2000 BNETD