Git Product home page Git Product logo

Comments (3)

philipl avatar philipl commented on August 23, 2024

Copying or moving files between locations on the device requires explicit support in the MTP implementation on the device, bit none of them actually support these operations in practice. The only thing you can do is copy the file to your PC and copy it back. Sorry.

from gvfs.

nxt-koxel avatar nxt-koxel commented on August 23, 2024

I understand that. But i had been tested my device on windows.
It is available on window, even copy file to same directory works.
But in ubuntu 12.04 and your ppa's backend, It says 'It's not supported operation at backend'.
I can't know what is a problem...

from gvfs.

philipl avatar philipl commented on August 23, 2024

There's no magic going on. Some code on windows is copying the file to the PC and then copying it back. It does this under the covers, but it's still happening.

Architecturally, for the gvfs case, the right place to do this copying is in the file manager (Nautilus, etc) as it's the only part of the system that knows exactly what's going on. Doing the work there also avoids duplication in individual backends.

With all that said, I'm currently working on adding support for some android MTP extensions that allow for normal read/write operations on files, which would allow this kind of operation to work without any changes in Nautilus - assuming you have an android phone running Google's MTP stack (eg: not a Samsung). That may or may not help you.

from gvfs.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.