(ftp-server config)
(ftp-server users server-config)
returns an FtpServer object given a map format: (ftp-server {:port port :ssl true/false :implicit-ssl true/false :users [{:username username :password password :home-dir path-to-home-dir :write true/false}]}) OR (ftp-server [{:username username :password password :home-dir path-to-home-dir :write true/false}] {:ssl true/false :port port :implicit-ssl true/false})
returns an FtpServer object given a map format: (ftp-server {:port port :ssl true/false :implicit-ssl true/false :users [{:username username :password password :home-dir path-to-home-dir :write true/false}]}) OR (ftp-server [{:username username :password password :home-dir path-to-home-dir :write true/false}] {:ssl true/false :port port :implicit-ssl true/false})
(with-ftp-server server & body)
Creates a context in which the server is running and listening. Ensures the server is stopped on exit
Creates a context in which the server is running and listening. Ensures the server is stopped on exit
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close