Copying files from PC to "external" SD card


Question

I've got AirDroid and SSHDroid installed on a ZTE Axon 7 running 7.1.1. The phone has a micro SD card in it, and it can access (read from) that card successfully. What I can't do is copy files onto it. I can log in via ssh and see the file system, but I can't touch it.



I've had a Moto X Pure for the past year, and via SSHDroid and AirDroid I can readily copy files to the SD card.



Is this just a "security" (ie, "pay somebody") thing in the more-proprietary OS on the ZTE phone?



Obviously I can mount the micro SD card directly on the computer, but juggling those tiny cards is kind-of a pain. If there are other solutions, I'd be grateful.



edit — I've tried MTP with the Axon. I plug in the phone and tell it I want to connect as a "media device" with MTP. I then run mtpfs (I'm running Linux on the laptop; Ubuntu 16.04) and I get:



Listing raw device(s)
Device 0 (VID=19d2 and PID=0306) is a ZTE V790/Blade 3.
Found 1 device(s):
ZTE: V790/Blade 3 (19d2:0306) @ bus 2, dev 98
Attempting to connect device
Android device detected, assigning default bug flags


Then it just sits there. (I've never had much luck with MTP.)



edit again — ADB seems to work. I don't move files that much (mostly music and audiobooks) and while ADB is a pain it's easier than fiddling with the cards.


Answer

If you're not insisting on a wireless transfer, using an USB cable would give you at least two options:




  1. Using

  2. Using



With MTP, on connecting the device to your computer you should usually get the option to open it in some file explorer (does so on Windows and on Linux at least). For ADB, you could use adb push to push files to your SD card – or, for your convenience, use an ADB GUI (some are listed here at my site.



For the latter, once connected via USB cable you could make it switch to TCP mode if you need it wireless. Without root, this must be repeated after each boot – with root, there are ways to initiate it without a cable.



Details can be found e.g. via the corresponding tag-wikis: adb and mtp.



Disclosure: The first two links lead to my Android website.


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes