obexftp
Transfer files via OBEX (e.g., Bluetooth)
SYNOPSIS
obexftp [options] [operation] [file/directory]
PARAMETERS
-b
Use Bluetooth transport.
-i
Use IrDA transport.
-u <address>
Specify the Bluetooth device address to connect to.
-B <channel>
Specify the Bluetooth channel to connect to. Defaults to 10.
-s <port>
Specify the serial port to connect to.
-p <profile>
Specify the OBEX profile (e.g., FTP, SYNC).
-l
List the contents of the current directory on the remote device.
-g <file>
Get (receive) a file from the remote device.
-p <file>
Put (send) a file to the remote device.
-d <directory>
Change the current directory on the remote device.
-c <directory>
Create a directory on the remote device.
-r <file/directory>
Remove a file or directory on the remote device.
-o <object>
Get a particular object by name.
-n <newname>
Specify a new name for the file.
-q
Quiet mode (suppress output).
-v
Verbose mode (increase verbosity).
-h
Display help information.
DESCRIPTION
ObexFTP is a command-line tool for transferring files to and from devices that support the Object Exchange (OBEX) protocol.
It's commonly used for communicating with mobile phones, PDAs, and other portable devices via Bluetooth or IrDA.
The tool provides capabilities to browse directories, send files, receive files, and manage objects on the remote device. It supports various OBEX profiles like File Transfer Profile (FTP), Synchronization Profile (SYNC), and others.
ObexFTP provides a flexible way to script file transfers and device management tasks that would otherwise require GUI tools. It allows users to easily interact with OBEX-enabled devices on Linux systems. It provides various settings, from specifying the target device and channel to controlling connection parameters and authentication.
CAVEATS
ObexFTP's effectiveness depends heavily on the OBEX implementation on the target device. Some devices might not fully support all OBEX features or might have compatibility issues.
Bluetooth connectivity requires proper configuration of Bluetooth drivers and settings.
AUTHENTICATION
Some OBEX servers require authentication. ObexFTP might prompt for a PIN code or password, depending on the device's configuration.
Consult the device's documentation for authentication procedures.
TROUBLESHOOTING
If you encounter connection problems, ensure that Bluetooth or IrDA is properly configured on your system and that the target device is discoverable and supports OBEX.
Use verbose mode (-v) for more detailed error messages.
HISTORY
ObexFTP was developed to provide a command-line interface for interacting with OBEX devices. Its usage has become less frequent as GUI-based file transfer tools and integrated device management solutions have become more prevalent. Still, it remains useful for scripting and automation in specific scenarios.