OBEXFTP(1)

πŸ“¦
version 0.24.2 Β· 3 versions
, in opensuse-leap 16.0

πŸ’… OBEXFTP β€” the manual, but make it make sense

okay so bestie, you've found yourself on the obexftp(1) page and honestly? you're about to have a good time. let's get into it. 🫢

✨ SYNOPSIS ✨

obexftp [OPTION] [COMMANDS]

🌸 DESCRIPTION 🌸

obexftp is your little key to the files on mobile equipment β€” yes, cell phones, the whole thing. and with obexftpd you can transfer files between literally any computers using IrDA, Bluetooth and TCP/IP. slay. πŸ”₯

this tool is how you reach the ObexFTP library through a command line interface, but ngl, you might wanna consider the other means available too. like, for example, the ObexFS filesystem for Linux. options, bestie, we love options. πŸ’–

πŸŽ€ OPTIONS πŸŽ€

okay this is the important part so pay attention: the ordering of options is important. every command will use the most recent device set. every file without a command switch will apply to the command given most recent. see EXAMPLES below if that made your head spin. πŸ’€

πŸ¦‹ Transport Options

  • -i, --irda β€” connect using the IrDA protocol. this is the default, so it's basically the main character. ✨
  • -b device, --bluetooth device β€” connect to this bluetooth device. if the device is not given, the first device found gets used. no cap.
  • -B number, --channel number β€” use this bluetooth channel when connecting. the channel will be discoverd automatically if this option is not used.
  • -d no/address, --hci no/address β€” use the bluetooth device referenced by number or address as the source device for the connection.
  • -u intf no, --usb intf no β€” connect to this usb interface, or list all available usb interfaces. (yes it does two jobs, it's versatile like that πŸ’…)
  • -t device, --tty device β€” connect to this tty device.
  • -n host, --network host β€” connect to this network host.

πŸ’œ Compatibility Options

  • -U uuid, --uuid uuid β€” select the UUID to connect with. the recognized values are currently "none" needed by some Nokia mobile devices, "FBS" (default) for the normal file browsing service, "IRMC" for IRMC synchronisation, and "S45" when connecting to a Siemens Mobile phone via cable, or "SHARP" for PCSOFTWARE UUID with Sharp devices.
  • -H, --noconn β€” suppress connection IDs (i.e. send no connection header to the mobile).
  • -S, --nopath β€” don't use "setpath" commands (i.e. send the whole path as filename to the mobile). can be used together with --noconn and --uuid none to send an OBEX-PUSH. πŸ‘‘

πŸ“ Setting The File Path

  • -c folder, --chdir folder β€” set the mobile's current working directory.
  • -C folder, --mkdir folder β€” set the mobile's current working directory, and the folder will be created if it doesn't exist. growth mindset fr fr. 🌱
  • -l folder, --list folder β€” list a folder.

🧚 Sending And Retrieving Files

  • -o path, --output path β€” specify the target file name, overriding the implicit local name from --get or the implicit remote name from --put.
  • -g source, --get source β€” retrieve files from mobile.
  • -G source, --getdelete source β€” retrieve files from mobile and delete them on the mobile. grab and go, iconic. πŸ’…
  • -p source, --put source β€” send files to the mobile.
  • -k source, --delete source β€” delete files from the mobile.

⭐ Experimental Extras

these are the experimental ones bestie β€” they're doing their best, treat them gently. πŸ™ˆ
  • -X, --capability β€” retrieve the capability object from the mobile (if available).
  • -Y, --probe β€” probe and report device characteristics.
  • -x, --info β€” retrieve misc infos from mobile. i.e. memory size and free memory. Siemens specific for now.
  • -m src dest, --move src dest β€” move (rename) files on the mobile. Siemens specific for now.

🌈 Version Information And Help

  • -v, --verbose β€” be verbose and give some additional infos.
  • -V, --version β€” print version string and exit.
  • -h, --help, --usage β€” print short usage instructions.

πŸ”₯ EXAMPLES πŸ”₯

to get the directory listing from the first irda device:

obexftp -i -l

or just obexftp -l as IrDA is the default. ✨

to get the file bar from directory foo from the first bluetooth device:

obexftp -b -c foo -g bar

to send the file bar to directory foo with device on first serial port:

obexftp -t /dev/ttyS0 -c foo -p bar

it is possible to use RfComm (serial port over bluetooth):

obexftp -t /dev/rfcomm0 -c foo -p bar

and also IrComm (serial port over IrDA):

obexftp -t /dev/ircomm0 -c foo -p bar

to send the file bar using plain OBEX PUSH:

obexftp --bluetooth --nopath --noconn --uuid none --put bar

πŸ‘‘ SEE ALSO πŸ‘‘

obexftpd(1), openobex(3), obexftp(3), multicobex(3), libbfb(3).

πŸ’€ BUGS πŸ’€

Bugs ? Features !

(they said it, not me 😭)

🌸 NOTES 🌸

the software has been tested and reported working on at least Siemens, Ericsson, and Nokia phones. we love a proven track record. πŸŽ€

🫢 AUTHOR 🫢

Christian W. Zuckschwerdt <zany@triq.net>

πŸŽ€ NOTES πŸŽ€

  1. zany@triq.net β€” mailto:zany@triq.net

okay that's the whole thing bestie, you're officially an obexftp expert. this page is from the OBEXFTP(1) manual, dated 02/21/2024 β€” go forth and transfer those files. mwah. πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from