树莓派:Obexpushd错误:无法创建文件:文件存在
问题描述:
ps auxw | grep obex-da root 3119 0.0 0.1 4276 1880 pts/1 S+ 13:07 0:00 grep obex-da [email protected]:/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错误:无法创建文件:文件存在
如果该文件已经存在, Obexpushd返回一个错误。 基本上它无法覆盖现有的文件。 任何解决方案?
答
尝试在发送文件之前先删除文件,方法是通过发送PUT请求而没有正文或正文结尾标题,然后发送该文件。