---
name: "bget"
section: "1"
platform: "linux"
package: "ax25-tools"
version: "0.0.10-rc5+git20230513+d3e6d4f-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/bget"
---

# bget(1)

upload or download files via AX.25 / axspawn Linux login session.

## NAME

axgetput - upload or download files via AX.25 / axspawn Linux login session.

## SYNOPSIS

**axgetput** \[-b *blocksize*\] \[-i\] \[-v\] \[-h\] \[?\] *filename*\
 **axgetput** \[-b *blocksize*\] \[-i\] -s \[-v\] \[-h\] \[?\] \[*filename*\]

## DESCRIPTION

- **-b blocksize**

  Set the blocksize (frame length) of transmitted data.  Defaults to 256 bytes which matches typical AX.25 network confurations best.

- **-i**

  Compute CRC checksum only.

- **.B -s**

  Indicates input from a stream.  This option is available only if STDIN is a pipe.  The filename argument may be omitted if -s is given. The length of the file need not to be known.

- **-v**

  print version and exit.

- **-h, ?**

  print usage and exit.

**axgetput** is the actual name of the program. You execute for e.g. **bget** or **bput** while axgetput is the common program to which bget and bput are linked to. axgetput autodetermines which operation mode the user desires.

axgetput sets the pty to be 8bit clean (thus enables binary mode for the file transfer). It requires that the user is logged in through [axspawn(8)](/axspawn/8.md).

**I. #BIN Protocol**

**bget** is used for downloading a file on this system from the unix login shell via his ax25 session to his packet-radio terminal program. The download "protocol" is the "#BIN" standard known from packet radio mailboxes.

**bput** does it the other way around: with this command, the user may upload a file to this computer.

The #BIN protocol provides a CRC consistency check after the file is transferred. The transfer of the file modification time is part of the #BIN protocol.

**II. YAPP Protocol**

**yget** or **yput** is reserved for the yapp protocol, which is not supported in this version.

**II. DIDADIT Protocol**

**rget** or **rput** is reserved for the didadit protocol, which is not supported in this version.

Anyone like to implement yapp and didadit protcols?

## AUTHOR

Thomas Osterried  DL9SAU \<thomas@x-berg.in-berlin.de\> Ralf Baechle DL5RB \<ralf@linux-mips.org\>
