FTP Server that uploads to data. Not general purpose, designed to be the bare minimum to get data from D-Link cameras offsite.
There's a docker container docker pull lstoll/ftp2s3
Alternatively you can fetch binaries:
- Linux/arm: https://cdn.lstoll.net/artifacts/ftp2s3/ftp2s3_linux_arm
- Linux/386: https://cdn.lstoll.net/artifacts/ftp2s3/ftp2s3_linux_386
- Linux/amd64: https://cdn.lstoll.net/artifacts/ftp2s3/ftp2s3_linux_amd64
- Darwin/amd64: https://cdn.lstoll.net/artifacts/ftp2s3/ftp2s3_darwin_amd64
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-1FTP2S3_PREFIX
prefix inside the bucket to store uploadsFTP2S3_USERNAME
ftp usernameFTP2S3_PASSWORD
ftp passwordFTP2S3_PORT
(optional) port to listen on, default is 2121FTP2S3_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:
Make sure to use active FTP!