android-file-transfer-linux

Android File Transfer for Linux
授权协议 View license
开发语言 JavaScript
所属分类 应用工具、 终端/远程登录
软件类型 开源软件
地区 不详
投 递 者 祝灼光
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Android File Transfer For Linux (FreeBSD and Mac OS X!)

Android File Transfer for Linux — reliable MTP client with minimalistic UI similar to Android File Transfer for Mac.

It just works™.

Do I need it?

If you're happy with gmtp/gvfs/mtpfs or any other mtp software, you might not need this software (but give it a try!).

If you're suffering from crashes, missing tags, album covers, usb freezes and corrupted files, this software is right for you.

Pre-built Packages

If your distribution does not provide android-file-transfer-linux package, you can still install it in your system.There's quite a few packages available:

Support me

If you want to help me with development, click on the link below and follow the instructions. I'm developing AFTL in my spare time and try to fix everything as fast as possible, sometimes adding features in realtime (more than 100 tickes closed by now).Any amount would help relieving pain of using MTP. :D

https://www.paypal.me/whoozle

Features

  • Simple Qt UI with progress dialogs.
  • FUSE wrapper (If you'd prefer mounting your device), supporting partial read/writes, allowing instant access to your files.
  • No file size limits.
  • Automatically renames album cover to make it visible from media player.
  • Supports Zune/Zune HD.
  • USB 'Zerocopy' support found in recent Linux kernel (no user/kernel data copying)
  • No extra dependencies (e.g. libptp/libmtp).
  • Available as static/shared library.
  • Command line tool (aft-mtp-cli)
  • Python bindings

FAQ

Please take a look at FAQ if you have issues with your operating system. It's not that big, but those are the questions asked very often.

Building instructions

Gentoo

AFT for Linux is now included in Gentoo, you don't have to build anything, just run

sudo emerge -av sys-fs/android-file-transfer-linux

If you need fuse mount helper to mount MTP filesystem, you have to enable fuse use flag, e.g. adding the following in /etc/portage/package.use (which can either be a directory or a file)

sys-fs/android-file-transfer-linux fuse

You can use sys-fs/android-file-transfer-linux-9999 ebuild if you want the latest git-version by adding the following entry into /etc/portage/package.accept_keywords (which can either be a directory or a file)

=sys-fs/android-file-transfer-linux-9999 **

Prerequisites

  • You will need Qt libraries for building ui program. If you're planning to use only library (Qt is not needed), you could turn the option BUILD_QT_UI off.

  • For ubuntu and other debian-based distros use the following command:

    sudo apt-get install build-essential cmake qt5-default ninja-build libfuse-dev libreadline-dev qttools5-dev

    For Fedora:

    dnf install make automake gcc gcc-c++ kernel-devel cmake fuse fuse-devel qt-devel readline-devel libqt5-linguist-devel
    
  • Basically, you need libqtX-dev for UI, libfuse-dev for FUSE interface, cmake, ninja or make for building the project. You could use libqt5-dev as well.

Building with ninja

mkdir build
cd build
cmake -G Ninja ..
ninja

./qt/android-file-transfer

Building with make

mkdir build
cd build
cmake ..
make

./qt/android-file-transfer

Installing binary package on OS X / macOS

There is a binary package that can be installed via Homebrew:

  • First install brew if you don't have it already installed.
  • Then the stable package may be installed via:
brew install homebrew/cask/whoozle-android-file-transfer
  • Nighlty build may be installed via;
brew install homebrew/cask-versions/whoozle-android-file-transfer-nightly
  • Please note: they are in conflict, so please make sure to uninstall it when you want switch between stable and nightly.

Building app package on OS X / macOS

You'll need Qt installed to build the GUI app. Here are the build instructions with qt5 from homebrew (brew install qt5):

mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=~/Applications -DCMAKE_PREFIX_PATH=/usr/local/opt/qt5
make
make install

open ~/Applications/android-file-transfer.app

Installation

sudo ninja install or sudo make install will install program into cmake prefix/bin directory (usually /usr/local/bin)

How to use

FUSE interface

mkdir ~/my-device
./aft-mtp-mount ~/my-device

Remember, if you want album art to be displayed, it must be named 'albumart.xxx' and placed first in the destination folder. Then copy other files.Also, note that fuse could be 7-8 times slower than ui/cli file transfer.

Qt user interface

  1. Start application, choose destination folder and click any button on toolbar.

  2. The options available there are: Upload Album, Upload Directory and Upload Files.The latter two are self-explanatory. Upload album tries searching source directory for album cover and sets best available cover.

  3. You could drop any files or folders right into application window, the transfer will start automatically.

Known problems

Up to date list of all known problems and bugs available here

Contacts

Please do not hesitate to contact me if you have any further questions, my email address is vladimir.menshakov@gmail.com.

Special thanks

  • All who filed bugs on github and wrote emails, many features appeared only because of your feedback. Thanks!
  • Alexey gazay Gaziev for useful suggestions, support and invaluable help with MacBook and MacOSX port.
  • @ssnjrthegr8 for the new logo!

License

Android File Transfer for Linux is released under GNU LGPLv2.1 License.

Copyright © 2015-2020 Vladimir Menshakov

  • 用android-file-transfer-linux替换掉 gvfs-mtp来挂载mtp 问题现状 在我使用gvfs-mtp挂载的时候,无论读取文件还是获取对应文件夹下所有文件的路径等操作,都非常的卡顿,比本地慢了大概100倍,所以选择使用android-file-transfer-linux来挂载设备是非常优秀的,我感觉就是gvfs-mtp协议层的问题 仓库地址 github的网站是http

  •  about a question in developing.. When you run app and created a file of db,but Android File Transfer no showing.  you shold restart the phone. Just do this, you will get.

  • adb file transfer 使用文档 包括三个子命令: 比较常用的是前面 使用adb push可以用来向anroid设备传输文件 另一方面,adb pull可以从android 设备将文件拉取到电脑上 push push [--sync] [-z ALGORITHM] [-Z] LOCAL... REMOTE copy local files/directories to devi

  • 使用该工具在 Mac 电脑和 Android 设备之间浏览、传输文件。 工具来自 Google 官方,请自备梯子, 或者通过 CSDN 下载    MD5:dc682cc22643643e569b5a68d4c6d469 SHA-1:74b8939c577c9d3e97c53d44ae262f36ac259073 How to use it Download the app. Open andro

  • We have a network of computers and a list of bi-directional connections.Each of these connections allows a file transfer from one computer to another. Is is possible to send a file from any computer o

  • More or less secure methods of transferring files. By: Mihai Marinof, Linux Editor When we need to download or copy a file from a remote machine to our local one or vice-versa, most of us use a plain,

  • 使用该工具在Mac电脑和Android设备之间浏览、传输文件。 工具来自Google官方,请自备梯子, 或者通过CSDN下载    MD5: dc682cc22643643e569b5a68d4c6d469 SHA-1: 74b8939c577c9d3e97c53d44ae262f36ac259073 How to use it Download the app. Open androidfile

  • http://www.jb51.net/article/48013.htm 1.dos2unix or unix2dos 2.sed -i 's/\r//g' filename.txt   or tr -d '\r' < input.file > output.file This will detele the windows "/r", 3.在Windows下写了一个shell脚本,上传到Lin

  • Android上传文件到服务器 欢迎访问本人博客:www.xuanworld.top 本文使用的是通过tomcat下servlet的方式进行的服务器配置 服务器方面 public static void uploadManage(File uploadFile){ String boundary = "*****"; try { URL ur

  • socket定义     socket通常也称作"套接字",实现服务器和客户端之间的物理连接,并进行数据传输,主要有UDP和TCP两个协议。Socket处于网络协议的传输层。下面通过具体的例子来说明socket的一些常见用法。(下载请见底部) Android客户端/java客户端 代码: package com.example.eric.mylibrary; import java.io.Data

 相关资料
  • This plugin allows you to upload and download files. This plugin defines global FileTransfer, FileUploadOptions constructors. Although in the global scope, they are not available until after the devic

  • WinSCP supports resuming file transfers with SFTP and FTP protocols. SCP and WebDAV protocols do not allow it. With S3 protocol, transfer can be resumed only immediately by reconnecting a lost session

  • WinSCP supports five transfer protocols: SFTP (SSH File Transfer Protocol); FTP (File Transfer Protocol); SCP (Secure Copy Protocol); WebDAV (Web Distributed Authoring and Versioning); S3 (Amazon S3).

  • WiFi-Direct-File-Transfer-App WiFi Direct File Transfer is a experimental app that will allow sharing of data between Android devices running Android 4.0 or higher using a WiFi direct connection witho

  • FTP 安装 查看是否已安装: CentOS:rpm -qa | grep vsftpd Ubuntu:dpkg -l | grep vsftpd 安装: CentOS 6:sudo yum install -y vsftpd Ubuntu:sudo apt-get install -y vsftpd FTP 使用之前要点 关闭 CentOS 上的 SELinux 组件(Ubuntu 体系是没有这

  • 描述 (Description) Transfer效果可以与effect()方法一起使用。 这将元素的轮廓转移到另一个元素。 在尝试可视化两个元素之间的交互时非常有用。 语法 (Syntax) 以下是使用此效果的简单语法 - <i>selector</i>.effect( "transfer", {arguments}, speed ); 参数 (Parameters) 以下是所有论点的描述 -