Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Simple FTP server that proxies PUT commands as POSTs over HTTP(S)

License

Notifications You must be signed in to change notification settings

SpecializedBikes/ftp-hook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick Start

Create an authentication endpoint

e.g. https://localhost/auth/

Which accepts the POST parameters:

  • username
  • password

And returns on successful authentication:

{
	// URL to POST files PUT via FTP Hook
	"url": "",
	// Form parameter to use when POSTing files
	"form_parameter": ""
}

Deploy

https://hub.docker.com/r/webdevenginesllc/ftp-hook/

Build the docker image

docker build -t ftp_hook .

Run the docker image

Pass ENABLE_FTPS variable to use self-signed SSL cert (Generated during docker image build).

docker run \
  -it \
  -p 0.0.0.0:21:21 \
  -p 0.0.0.0:20:20 \
  -p 0.0.0.0:5000-5100:5000-5100 \
  -e AUTHENTICATION_URL="https://localhost/auth/" \
  -e ENABLE_FTPS="True"
  -e DOMAIN="yourhost.com"
  ftp_hook

Contributors

About

Simple FTP server that proxies PUT commands as POSTs over HTTP(S)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 76.4%
  • Dockerfile 14.4%
  • Shell 9.2%