ORG.BLUEZ.OBEX.FILETRANSFER(5) | Linux System Administration | ORG.BLUEZ.OBEX.FILETRANSFER(5) |
NAME
org.bluez.obex.FileTransfer - BlueZ D-Bus OBEX FileTransfer API documentation
INTERFACE
- Service
- org.bluez.obex
- Interface
- org.bluez.obex.FileTransfer1
- Object path
- [Session object path]
Methods
void ChangeFolder(string folder)
Possible errors:
void CreateFolder(string folder)
Possible errors:
array{dict} ListFolder()
Possible return values:
- string Name
- Object name in UTF-8 format.
- string Type
- Either "folder" or "file".
- uint64 Size
- Object size or number of items in folder.
- string Permission
- Group, owner and other permission.
- uint64 Modified
- Last change.
- uint64 Accessed
- Last access.
- uint64 Created
- Creation date.
Possible errors:
object, dict GetFile(string targetfile, string sourcefile)
If an empty target file is given, a name will be automatically generated for the temporary file.
The returned path represents the newly created transfer, which should be used to find out if the content has been successfully transferred or if the operation fails.
The properties of this transfer are also returned along with the object path, to avoid a call to GetProperties, see org.bluez.obex.Transfer(5) for the possible list of properties.
Possible errors:
object, dict PutFile(string sourcefile, string targetfile)
The returned path represents the newly created transfer, which should be used to find out if the content has been successfully transferred or if the operation fails.
The properties of this transfer are also returned along with the object path, to avoid a call to GetProperties, see org.bluez.obex.Transfer(5) for the possible list of properties.
Possible errors:
void CopyFile(string sourcefile, string targetfile)
Possible errors:
void MoveFile(string sourcefile, string targetfile)
Possible errors:
;org.bluez.obex.Error.InvalidArguments: :org.bluez.obex.Error.Failed:
void Delete(string file)
Possible errors:
October 2023 | BlueZ |