Watch a folder and HTTP POST uploaded files
457
This repository contains a very simple Symfony application to HTTP POST all files from
a given director that have been modified at least 30 seconds ago to a given URL, and to
move them to an archive folder afterwards. And a second command to prune older files
from that archive directory.
Started from a shell script in combination with inotify, this can be used to do
monitor a directory exported over NFS, SMB or FTP and forward new files to some API endpoint.
This repository has been configured over at the Docker Hub so that new Docker images are built automatically whenever commits are pushed.
This action was written by webfactory GmbH, Bonn, Germany. We're a software development agency with a focus on PHP (mostly Symfony). If you're a developer looking for new challenges, we'd like to hear from you!
Copyright 2019 – 2021 webfactory GmbH, Bonn. Code released under the MIT license.
Content type
Image
Digest
Size
32.3 MB
Last updated
over 4 years ago
docker pull webfactory/hotfolder