Implementation of file upload using SFTP.
This assumes that chown/chgrp/chmod are all going to work.
Implementation of file upload using SFTP. This assumes that chown/chgrp/chmod are all going to work.
(md5-digest-input-stream str)
Return a tuple containing a MessageDigest and a DigestInputStream.
Return a tuple containing a MessageDigest and a DigestInputStream.
(sftp-ensure-dir connection target-path)
Ensure directory exists
Ensure directory exists
(sftp-remote-md5 connection md5-path)
Return the md5 for a remote file.
Return the md5 for a remote file.
(sftp-upload {:keys [upload-root] :as options})
Create an instance of the SFTP upload strategy.
Create an instance of the SFTP upload strategy.
(sftp-upload-file connection local-path target-path)
Upload a file via SFTP
Upload a file via SFTP
(upload-dir upload-root username)
Return the upload directory for username. A :home at the start of the upload directory will be replaced by the user's home directory.
Return the upload directory for username. A :home at the start of the upload directory will be replaced by the user's home directory.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close