/ftp2s3

FTP Server that can upload data from dlink cameras to S3

Primary LanguageGoMIT LicenseMIT

ftp2s3

FTP Server that uploads to data. Not general purpose, designed to be the bare minimum to get data from D-Link cameras offsite.

Using

There's a docker container docker pull lstoll/ftp2s3

Alternatively you can fetch binaries:

Set up the following env:

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • FTP2S3_BUCKET
  • FTP2S3_REGION (optional) AWS S3 region, default is us-west-1
  • FTP2S3_PREFIX prefix inside the bucket to store uploads
  • FTP2S3_USERNAME ftp username
  • FTP2S3_PASSWORD ftp password
  • FTP2S3_PORT (optional) port to listen on, default is 2121
  • FTP2S3_CACHE_DIR Dir files should be staged before uploading to S3. Not needed for docker image, it's already set.

Also set up your camera like this:

Camera settings screenshot

Make sure to use active FTP!