<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>310048</bug_id>
          
          <creation_ts>2012-11-13 19:21:10 +0000</creation_ts>
          <short_desc>Cannot copy files to root of MTP device</short_desc>
          <delta_ts>2012-11-15 10:25:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kio</product>
          <component>mtp</component>
          <version>Git</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Kai Uwe Broulik">kde</reporter>
          <assigned_to name="Philipp Schmidt">kde-bugs</assigned_to>
          
          
          <cf_commitlink>http://commits.kde.org/kio-mtp/ebd091f3021a359a2654124c2df3d2d73fb431ee</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1315245</commentid>
    <comment_count>0</comment_count>
    <who name="Kai Uwe Broulik">kde</who>
    <bug_when>2012-11-13 19:21:10 +0000</bug_when>
    <thetext>[KIO MTP]

When I try to copy files onto the Root of my Galaxy Nexus (ie. the &quot;Internal Storage&quot;) folder, it says &quot;Cannot copy file: Internal Storage is a file, but a folder was expected.&quot; Copying files in any subfolder works totally fine but copying to the root &quot;Internal Storage&quot; doesn&apos;t work.

Reproducible: Always

Steps to Reproduce:
1. Use Android device with MTP, plug in
2. Select &quot;Portable media player&quot; or whatever entry it gets in the Places panel
3. Click &quot;Internal Storage&quot;
4. Copy a file in that directory
Actual Results:  
Cannot because of error above

Expected Results:  
File copied :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1315784</commentid>
    <comment_count>1</comment_count>
    <who name="Philipp Schmidt">kde-bugs</who>
    <bug_when>2012-11-15 09:31:05 +0000</bug_when>
    <thetext>Yep, can reproduce it here. Should be a minor thing. Stay tuned.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1315803</commentid>
    <comment_count>2</comment_count>
    <who name="Philipp Schmidt">kde-bugs</who>
    <bug_when>2012-11-15 10:25:09 +0000</bug_when>
    <thetext>Git commit ebd091f3021a359a2654124c2df3d2d73fb431ee by Philipp Schmidt.
Committed on 15/11/2012 at 11:22.
Pushed by schmidt into branch &apos;master&apos;.

Fixes storages not being recognized as valid destinations when copying
to the device. Also added some more sane debug information.

M  +32   -8    kio_mtp.cpp
M  +9    -2    kio_mtp_helpers.cpp

http://commits.kde.org/kio-mtp/ebd091f3021a359a2654124c2df3d2d73fb431ee</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>