GitHunt
ME

meibraransari/ftp-server

๐Ÿ”’ Instant FTP server setup.


Created: 2024-07-27T13:55:51+05:30
Updated: 2024-09-03T08:24:22+05:30
Maintainer: Ibrar Ansari

FTP Server (Just in 15 Seconds)

This repository contains information to deploy a FTP server using Docker. The setup includes Demonstration ands steps. The main aim is to quickly Spin Up an FTP Server in Seconds and share data (Upload/Download) easily with Dynamic username and password.

Table of Contents

๐ŸŽฌ Video Demonstration

Watch on Youtube

Prerequisites

  • Docker must be installed on your system.
  • Basic understanding of Docker and FTP.
  • Basic knowledge of command-line operations.

Quick Start

Features

  • Run this FTP Server within 15 Seconds.
  • Variable support.
  • No static Username and password.
  • Change username and password according to your need.
  • Share new/existing directory data with FTP server.
  • Rest all FTP server features included.

Change FTP Server Variable

To start a container use the following:

Change below variable before start it.

FTP_CONTAINER_NAME=ftp_server
FTP_USER=user
FTP_PASS=123
FTP_DATA_PATH=/data

Run Container

docker run -d \
    --name $FTP_CONTAINER_NAME \
    --restart=always \
	--env FTP_PASS=$FTP_PASS \
	--env FTP_USER=$FTP_USER \
	--publish 20-21:20-21/tcp \
	--publish 40000-40009:40000-40009/tcp \
	--volume $FTP_DATA_PATH:/home/user \
	ibraransaridocker/ftp-server

Connect FTP

Configure FileZilla settings before connecting it.
Open FileZilla, Edit > Setting

  • FTP
    • Transfer Mode =>Active
    • [โœ“] Allow fallback to other transfer mode on failure.
      • Active Mode
        • Limit Local ports by FileZilla
        • Lowest Available Port: 40000
        • Highest Available Port: 40009
        • Ask your operating system for the external IP Address.
      • Passive Mode
        • Fallback to Active Mode.

Connect FTP server using above provided details
Enjoy ๐Ÿ˜Š

Conclusion

This project streamlines the process of deploying a secure FTP server through Docker. By utilizing Docker, you can achieve faster deployment of FTP Server.

Thank you for the Support ๐Ÿ˜Š

  • โญ Give this repo a โญ star โญ at the top of the page

๐Ÿ’ผ Connect with me ๐Ÿ‘‡