Liking cljdoc? Tell your friends :D

clj-ftpserver.core


ftp-serverclj

(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})
sourceraw docstring

startclj

(start server)
source

stopclj

(stop server)

stops server

stops server
sourceraw docstring

usersclj

(users coll)
source

with-ftp-servercljmacro

(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
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close