7.3. btftp

Use this to transfer files over Bluetooth connection. FTP uses a client-server connection. To use FTP over Bluetooth run btsrv (see instruction below) in server host and btftp in client host.

You find download/upload directory on server at /var/spool/affix/Inbox. Locally files are stored and searched from the current working directory

Usage: btftp [-i <name>] [<command> [parameters..]

7.3.1. General commands

Start btftp without parameters. It will provide you with command prompt where you can give the following commands. You do not need to always write the whole device address as a parameter you can use the entry number instead. Use discovery and list commands to find out entry numbers. Note that entry numbers might change every time you do discovery.

help <command name> Show quick help for this command

list Show the list of cached Bluetooth devices, their entry numbers, and addresses.

flush Empty the list of cached Bluetooth devices.

inquiry [length] Search for Bluetooth devices around you. Then length is the used search time in seconds.

discovery [length] Search for Bluetooth devices around you and resolve their names. Then length is the used search time in seconds.

browse <address> Browse services in some remote device

search <address> Search for services in some remote devise. Use this is browse results in an empty list. Some devices do not support browsing.

7.3.2. OBEX commands

ftp This is default when launching btftp.

open <address> [<channel>]

close

ls [<address> [<channel>]]

put [<address> [<channel>]] <local-file> [remote-file]

get [<address> [<channel>]] <remote-file> [local-file]

push <address> [<channel>] <local-file> [remote-file]

rm [<address> [<channel>]] <remote-file>

cd <dir name>

mkdir <dir name>