Project

s3ftp

0.02
No commit activity in last 3 years
No release in over 3 years
Run an FTP server that persists all data to an Amazon S3 bucket
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 2.6

Runtime

 Project Readme

s3ftp

A mini-FTP server that persists all data to Amazon S3.

Installation

gem install s3ftp

Configuration

  1. Upload a passwd file to your S3 bucket. It should contain a single line per user and be a CSV. It should look something like this

    user1,password,y user2,password,n

    the third column indicates the users administrator status. Administrators can see all files. Regular users are sandboxed to their own directory.

  2. Create a config.rb file that looks something like this

    require 's3ftp'

    AWS_KEY = 'foo' AWS_SECRET = 'bar' AWS_BUCKET = 'my-ftp-bucket'

    driver S3FTP::Driver driver_args AWS_KEY, AWS_SECRET, AWS_BUCKET

  3. As root, run 'em-ftpd config.rb'

License

This library is distributed under the terms of the MIT License. See the included file for more detail.