Docker Image: ftp-client
Docker image with ncftp for uploads and downloads via FTP.
-
Github Repository → https://github.com/sebastian-sommerfeld-io/docker-image-ftp-client
-
Documentation → https://www.sommerfeld.io/docs/docker-images/docker-image-ftp-client-docs/main
-
Published Docker images → https://hub.docker.com/r/sommerfeldio/ftp-client
-
Docker image tag scheme → Guidelines and Conventions on docs.cloud.sommerfeld.io
-
Where to file issues → https://github.com/sebastian-sommerfeld-io/docker-image-ftp-client/issues
About this image
The ftp-client image ships with NCFTP and uses ncftpput for FTP uploads.
To see which packages are shipped with this image, take a look at the Dockerfile.
How to use this image
Use without a Dockerfile
To use the image without a Dockerfile
run the following command. Note that storing passwords in variables like this is not a recommended way to secure your secrets.
FTP_HOST="ftp-host.example.com"
FTP_USER="the_username"
FTP_PASS="the_password"
echo "Upload via FTP"
docker run -i --rm \
--volume "$(pwd):$(pwd)" \
--workdir "$(pwd)" \
sommerfeldio/ftp-client:latest ncftpput -R -v -u "$FTP_USER" -p "$FTP_PASS" "$FTP_HOST" / *
Risks and Technical Debts
Scale for Probability and Impact: Low, Medium and High
# | Title | Description | Probability | Impact | Response |
---|---|---|---|---|---|
1 |
- |
- |
- |
- |
- |
Contact
Feel free to contact me via sebastian@sommerfeld.io or visit my website https://www.sommerfeld.io.