Skip to content

kartikeyporwal/ftp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample FTP server using twisted

This repo contains a script ftp_server.py that helps launch an FTP server

Installation

# Create a virtual environment
python -m venv test_env

# Activate the virtual environment
source ./test_env/bin/activate

# Install the necessary packages
python -m pip install -r requirements.txt

# Run the script; make the directory and port changes as needed
python ftp_server.py

ERROR


    twisted.internet.error.CannotListenError: Couldn't listen on 127.0.1.1:21: [Errno 13] Permission denied.

    Fix:
        Run the script with sudo or change the port from 21 to some other port

About

Twisted based FTP server using Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages