phatina / simple-mtpfs

Simple MTP fuse filesystem driver.
GNU General Public License v2.0
371 stars 45 forks source link

Can't upload files to MTP device #22

Closed evgkrsk closed 10 years ago

evgkrsk commented 10 years ago

simple-mtpfs builded from tag simple-mtpfs-0.2 (80784a0c8c31b812052c5f23781516bb25a4bf93).

Listing/fetching/deleteing works fine (except that deleted files seems to present untill dir is entered again), but I can't upload any file on device, getting error "No such file or directory". According to debug log (https://gist.github.com/evgkrsk/8168801 , created with simple-tmpfs /mnt/phone -d) there may be some problem in libmtp, but I not sure how to check/debug it.

evgkrsk commented 10 years ago

Debug log produced with "simple-mtpfs /mnt/phone -2 2>&1" in one terminal and "touch /mnt/phone/Music/test.file" in another (directory Music exists on device).

phatina commented 10 years ago

Tested on Fedora 20 (latest sources of simple-mtpfs) - I can list/push/fetch/delete files. I did not notice any problem with uploading a file to specific directory today.

But I admit, MTP implementations (libmtp and Android's one) sometimes do not get along very well. That means, Android sometimes reports non-existing files to be present (see other bug reports).