Liking cljdoc? Tell your friends :D

pallet.ssh.file-upload.sftp-upload

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.
raw docstring

md5clj

(md5 path)
source

md5-digest-input-streamclj

(md5-digest-input-stream str)

Return a tuple containing a MessageDigest and a DigestInputStream.

Return a tuple containing a MessageDigest and a DigestInputStream.
sourceraw docstring

sftp-ensure-dirclj

(sftp-ensure-dir connection target-path)

Ensure directory exists

Ensure directory exists
sourceraw docstring

sftp-put-md5clj

(sftp-put-md5 connection path md5)
source

sftp-remote-md5clj

(sftp-remote-md5 connection md5-path)

Return the md5 for a remote file.

Return the md5 for a remote file.
sourceraw docstring

sftp-uploadclj

(sftp-upload {:keys [upload-root] :as options})

Create an instance of the SFTP upload strategy.

Create an instance of the SFTP upload strategy.
sourceraw docstring

sftp-upload-fileclj

(sftp-upload-file connection local-path target-path)

Upload a file via SFTP

Upload a file via SFTP
sourceraw docstring

targetclj

(target upload-root username target-path)
source

upload-dirclj

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

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

× close