logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

org.bluez.obex.FileTransfer - BlueZ D-Bus OBEX FileTransfer API documentation

Interface

Service org.bluez.obex Interface org.bluez.obex.FileTransfer1 Objectpath [Session object path] MethodsvoidChangeFolder(stringfolder) Changes the current folder of the remote device. Possible errors: org.bluez.obex.Error.InvalidArgumentsorg.bluez.obex.Error.FailedvoidCreateFolder(stringfolder) Creates a new folder in the remote device. Possible errors: org.bluez.obex.Error.InvalidArgumentsorg.bluez.obex.Error.Failedarray{dict}ListFolder() Returns a dictionary containing information about the current folder content. Possible return values: stringName Object name in UTF-8 format. stringType Either "folder" or "file". uint64Size Object size or number of items in folder. stringPermission Group, owner and other permission. uint64Modified Last change. uint64Accessed Last access. uint64Created Creation date. Possible errors: org.bluez.obex.Error.Failedobject,dictGetFile(stringtargetfile,stringsourcefile) Copies the contents of the source file (from remote device) to the target file (on local filesystem). 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: org.bluez.obex.Error.InvalidArgumentsorg.bluez.obex.Error.Failedobject,dictPutFile(stringsourcefile,stringtargetfile) Copies the contents of the source file (from local filesystem) to the target file (on remote device). 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: org.bluez.obex.Error.InvalidArgumentsorg.bluez.obex.Error.FailedvoidCopyFile(stringsourcefile,stringtargetfile) Copies the contents from source file to target file on the remote device. Possible errors: org.bluez.obex.Error.InvalidArgumentsorg.bluez.obex.Error.FailedvoidMoveFile(stringsourcefile,stringtargetfile) Moves a file within the remote device from source file to the target file. Possible errors: org.bluez.obex.Error.InvalidArgumentsorg.bluez.obex.Error.FailedvoidDelete(stringfile) Deletes the specified file/folder. Possible errors: org.bluez.obex.Error.InvalidArgumentsorg.bluez.obex.Error.Failed BlueZ October 2023 ORG.BLUEZ.OBEX.FILETRANSFER(5)

Name

org.bluez.obex.FileTransfer - BlueZ D-Bus OBEX FileTransfer API documentation

See Also