+3 votes
535 views
How to configure Android as an FTP server

in Android by (550k points)
reopened | 535 views

1 Answer

+4 votes
Best answer

1. Download FTP applications for Android
2. How to connect Android FTP
3. How to secure the Android FTP connection

One of the most commonly used protocols for transferring files efficiently is FTP (File Transfer Protocol) which is a transfer protocol between systems connected to the same TCP network and which based on client-server architecture..

The FTP protocol is offered through the Application layer of the TCP / IP network layer model to the user, and makes use of the network port 20 and 21 most of the time.

Through this tutorial we will see how to configure our Android mobiles as FTP servers which serves us for various actions such as:

  • Access the folders of our mobile from the computer
  • Use Android files without connecting to USB
  • Execute actions such as copy, move, delete, rename or more in various Android files.

1. Download FTP applications for Android


There are several free applications that give us the possibility of accessing Android via FTP and each one has its own characteristics, some of these are:
WiFi FTP Server

FTP Server

WiFi File Transfer
FTP Server - Access files over the Internet

For this case we will use the WiFi FTP Server application which provides us with functions such as those named below..

WiFi FTP Server Features
  • Make use of any network interface of our device such as WIFI, Ethernet, Mobile network, USB, etc.
  • It has an anonymous user (it can be disabled)
  • It has an ftp user (the user can be disabled). The name and password can be set according to our criteria
  • The home directory can be the root directory, sdcard, etc.
  • Read-only mode
  • Active and passive modes
  • Can show hidden files
  • It has a custom home directory
  • Possibility of running as a foreground service
  • It includes a power saving mode.
  • Supported languages: English, Spanish, Romanian, French, Italian, Hungarian, German, Chinese, Catalan, Korean, Russian and Portuguese.

2. How to connect Android FTP


Once the application is installed, we must be on the same network both the Android device and the computer and there we proceed to run the application where we will see the following:

image

We will see these settings
  • Network status
  • IP address of the Android device
  • Network name

Click on the Start button and the following will be displayed:

image

Options
  • Address to use to establish connectivity to Android
  • Username and password to use for access
  • Anonymous User Status
  • Selected root folder

To access Android we have the following options:

From the file explorer
In this case we will use Windows 10, for this we go to the file browser and in the address bar we will enter the address of the FTP server as indicated by the application like this:
 ftp://192.168.0.3:2221 
By pressing Enter we will have access to the Android directory structure like this: image
From the web browser
Another option to access Android through FTP, is using any web browser, for this, simply enter the address of the FTP server in the address bar and this will be the structure displayed: image

Alternatively, we can use some free FTP client. In this way we can access through the FTP protocol to Android.


3. How to secure the Android FTP connection


When using this method the connection will be automatic and no password will be required which is not secure. To make the FTP connection private and secure, we have the possibility to define a username and password for new connections via FTP.
Step 1

For this, we press, in the case of this application, on the gear icon at the top and the following will be displayed. There we must uncheck the Anonymous access box and click on the user ID and password sections to assign the new name and password to use. It will be necessary to stop the service and start it again to apply the changes.

image

Step 2

Now, when trying to access again, these passwords will be required:

image

Step 3

By clicking on Login we can navigate in all Android folders without problem: image

Thus, we have seen how to use FTP to manage this type of connection on Android..


by (3.5m points)
edited

Related questions

+3 votes
1 answer
asked Oct 8, 2019 in Windows 10 by backtothefuture (550k points) | 358 views
+4 votes
1 answer
+4 votes
1 answer
+5 votes
1 answer
asked May 26, 2019 in Linux / Unix by backtothefuture (550k points) | 182 views
+5 votes
1 answer
asked Jun 21, 2020 in Security by backtothefuture (550k points) | 255 views
Sponsored articles cost $40 per post. You can contact us via Feedback
10,627 questions
10,759 answers
510 comments
3 users