1

ps auxw | grep obex-da root 3119 0.0 0.1 4276 1880 pts/1 S+ 13:07 0:00 grep obex-da root@raspberrypi:/home/pi# sudo obexpushd -B -n obexpushd 0.11.2 Copyright (C) 2006-2010 Hendrik Sattler This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. Listening on bluetooth/[00:00:00:00:00:00]:9 Creating file "abc0.png" Creating file "abc0.png" Error: cannot create file: File exists

如果文件已经存在,Obexpushd 会返回错误。基本上它无法覆盖现有文件。有什么解决办法吗?

4

1 回答 1

-1

在发送文件之前先尝试删除文件,方法是发送不带正文或 End-Of-Body 标头的PUT请求。然后尝试再次发送文件。

于 2018-03-05T07:42:10.457 回答