Advertisement
efxtv

How to install FTP server in TERMUX Step by Step Guide

Dec 30th, 2023 (edited)
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | Cybersecurity | 0 0
  1. How to install FTP server in TERMUX Step by Step Guide
  2. *********************************************
  3. Telegram post: https://t.me/efxtv/3252
  4. *********************************************
  5.  
  6. STEP 1 - Allow storage permission
  7. $ termux-setup-storage
  8.  
  9. STEP 2 - Update Upgrade Termux
  10. $ pkg update && pkg upgrade -y
  11.  
  12. STEP 3 - Install Python
  13. $ pkg install python
  14.  
  15. STEP 4 - Install Python-PIP
  16. $ pkg install python-pip
  17.  
  18. STEP 5 - Install FTPDLIB
  19. $ python -m pip install pyftpdlib
  20.  
  21. STEP 6 - Start FTP Server in termux
  22. $ python -m pyftpdlib
  23.  
  24. STEP 7 - Create alias to Start PyFTPdlib
  25. $ echo "alias pyftp='python -m pyftpdlib 2>/dev/null &'" >>~/.profile
  26. $ source ~/.profile
  27.  
  28. STEP 8 - Start pyftp
  29. $ pyftp
  30.  
  31. STEP 9 - Stop pyftp
  32. Ctrl + c
  33.  
  34. NOTE: Use CX File Explorer (https://play.google.com/store/apps/details?id=com.cxinventor.file.explorer) to access FTP on android
  35.  
  36. FTP CONNECT 👇👇
  37. - Open CX File Explorer
  38. - New Location
  39. - Remote
  40. - FTP
  41. - Enter Host IP 0.0.0.0
  42. - Port as 2121
  43. - Check mark Anonymous
  44. - Click ok
  45.  
  46. Must read the related post How to set up SMB in Linux (https://t.me/efxtv/2718)
  47.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement