DaemonForums  

Go Back   DaemonForums > Miscellaneous > Guides

Guides All Guides and HOWTO's.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 2nd January 2015
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 1,027
Default Wireless File Transfer Between Desktop and Mobile

In this thread a few of us were whining about the difficulty of transferring files between a "mobile device" (phone/tablet) and a "real computer," in particular the perceived need to use a USB cable, or sneakernet. I want to briefly describe in this post one way to do it wirelessly that may appeal to Unix users.

First the disclosure that I only very recently began to muck around (somewhat reluctantly) with a mobile device, so maybe this is well known and considered trivial. I also don't know how widely applicable it is. I've tested this only on an Samsung Galaxy Tab4 running Android 4.4.2.

The basic idea is very simple: use FTP over wireless, and there is no need to "root the phone". The desktop computer needs to be running an FTP server. On the Android device, it's possible to set up an "FTP server shortcut," which is basically an item that appears in a file manager's directory listing and represents connecting to an FTP server.

Concerning the FTP server, there are many choices on Unix-like OS's. It could be the base ftpd(8), or from a package like vsftpd or proftpd. It's not too hard to set up a server like this, and if it's configured right files can be moved both to and from it.

On the Android side, the shortcut is added something like this:
  • run My Files application (built-in)
  • tap the Options button (3 vertical dots)
  • choose Add FTP
  • enter a shortcut name and the server/account details
  • shortcut will appear under Folders

Done! You can now move files back and forth over a WiFi connection by Selecting them in the source directory and Moving them to the target, all within My Files. Any type of file can be moved or copied, it doesn't have to be a "picture" or "media file."

The main issue here is perhaps security (isn't it always? ). FTP is not a secure protocol, it's in the clear, so you need to use it in an acceptable environment. The main usage case I have in mind is like this:

{Internet}----[Firewall]==[LAN computers,FTP server]==[AP]....(Android)

Assumptions:
  • FTP server can only be accessed from the LAN
  • FTP server can only be accessed by trusted user(s)
  • The LAN is mostly wired "==" and considered secure
  • Wireless link "...." is encrypted by WPA2 and good passphrase

Works for me. Comments welcome, including how widely applicable this may be on the mobile side. Discussion of other wireless methods in line with the thread title are also welcome.

Last edited by IdOp; 2nd January 2015 at 12:35 PM. Reason: capitalization, elaborations, correction
Reply With Quote
 

Tags
phone file transfer, smart phone file transfer

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
File transfer speed Mako_Elite OpenBSD General 12 9th April 2013 03:41 AM
Huge FTP transfer file fragmentation problem under Windows eakinasila Other OS 2 13th December 2009 02:50 PM
Mobile Broadband adapa OpenBSD General 3 23rd February 2009 09:09 PM
Have problem transfer large file bigger 1GB bsdme2 FreeBSD General 9 14th January 2009 05:49 AM
kde .desktop file link doesn't act like a link when opening files caesius FreeBSD Ports and Packages 3 14th October 2008 07:35 AM


All times are GMT. The time now is 05:05 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick