Bug 1327816 - cannot copy between MTP mounts
Summary: cannot copy between MTP mounts
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gvfs
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondrej Holy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-16 08:21 UTC by Aleksandar Kostadinov
Modified: 2016-05-02 08:25 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-02 08:25:13 UTC
Type: Bug


Attachments (Terms of Use)
mtp-detect (35.39 KB, text/plain)
2016-05-02 07:04 UTC, Aleksandar Kostadinov
no flags Details

Description Aleksandar Kostadinov 2016-04-16 08:21:35 UTC
Description of problem:
> $ gvfs-copy --preserve -p 'mtp://[usb:002,114]/Card/carbon' 'mtp://[usb:002,114]/Phone/' 
> Error copying file mtp://[usb:002,114]/Card/carbon: Operation unsupported


Version-Release number of selected component (if applicable):
gvfs 1.26.3


How reproducible:
always

Additional info:
Copying between MTP and File system, also between filesystem and MTP works fine in GUI (Thunar 1.6.10) and cli. But not between 2 MTP points. This is highly annoying and suboptimal.

Also trying to open files from MTP mounts directly fails in many apps like xarchiver 0.5.4

Comment 1 Ondrej Holy 2016-04-28 14:41:56 UTC
Thanks for your bug report. 

Copying between two MTP mount points should work. I am just not sure about --preserve option. Does it fail also without --preserve option?

Another problem might be if your device doesn't support android extensions. Could you please provide output from "mtp-detect"?

Comment 2 Aleksandar Kostadinov 2016-05-02 07:04:32 UTC
Created attachment 1152863 [details]
mtp-detect

`preserve` option does not matter. Attaching mtp-detect report. The Phone is android so I guess extensions are there. Are they?

Comment 3 Aleksandar Kostadinov 2016-05-02 07:08:49 UTC
Just tested after all updates:

> $ gvfs-copy 'mtp://[usb:002,007]/Card/Download/object-oriented-vs-functional-programming.epub' 'mtp://[usb:002,007]/Phone/Download/'
> Error copying file mtp://[usb:002,007]/Card/Download/object-oriented-vs-functional-programming.epub: Operation unsupported

Comment 4 Ondrej Holy 2016-05-02 08:25:13 UTC
(In reply to Aleksandar Kostadinov from comment #2)
> Created attachment 1152863 [details]
> mtp-detect
> 
> `preserve` option does not matter. Attaching mtp-detect report. The Phone is
> android so I guess extensions are there. Are they?

Thanks for the reply. Unfortunately not all Android devices support MTP android extensions and thus is not possible to support some operations, see for more details:
https://bugzilla.gnome.org/show_bug.cgi?id=692419

Your device doesn't support those extensions:
Vendor extension description: microsoft.com: 1.0; microsoft.com/WMPPD: 11.0; microsoft.com/WMPPD: 10.0; microsoft.com/WMDRMPD:10.1; microsoft.com/playready:1.10;samsung.com/kies:2.1;samsung.com/sidesync3.0


Note You need to log in before you can comment on or make changes to this bug.