Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Media Transfer Protocol
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Direct modification and partial transfer features== These features can be used as more efficient alternatives to whole-file transfers and re-uploads: From the MTP 1.1 spec:<ref name="spec1.1"/> {| class="wikitable" |- ! Opcode !! Operation Name !! Explanation |- | 0x9805 || GetObjectPropList ||rowspan=2| Metadata transfer |- | 0x9806 || SetObjectPropList |- | 0x1019 || MoveObject || Rename a file or directory |- | 0x101B || GetPartialObject || Request a byte range of a file |} ===Android extensions=== According to go-mtpfs:<ref name="hanwen_android.go"/> {| class="wikitable" |- ! Opcode !! Operation Name !! Explanation |- |0x95C1 || GetPartialObject64 || Same as ''GetPartialObject'', but with 64 bit offset |- || |0x95C2 || SendPartialObject || Same as ''GetPartialObject64'', but copying host to device |- || |0x95C3 || TruncateObject || Truncates file to 64 bit length |- || |0x95C4 || BeginEditObject || Must be called before using ''SendPartialObject'' and ''TruncateObject'' |- || |0x95C5 || EndEditObject || Called to commit changes made by ''SendPartialObject'' and ''TruncateObject'' |}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)