Liking cljdoc? Tell your friends :D

clj-sftp.core


dir?clj

(dir? channel path)

Given a path, return true if it is a directory.

Given a path, return true if it is a directory.
sourceraw docstring

exists?clj

(exists? channel path)
source

file?clj

(file? channel path)

Given a path, return true if it is a file.

Given a path, return true if it is a file.
sourceraw docstring

lstatclj

(lstat channel path)

Get statistics of the pointed path.

Get statistics of the pointed path.
sourceraw docstring

mkdirclj

(mkdir channel dir)

Create a directory on remote server.

Create a directory on remote server.
sourceraw docstring

mkdirsclj

(mkdirs channel dir)

Create a directory on remote server, also create all parent directory.

Create a directory on remote server, also create all parent directory.
sourceraw docstring

putclj

(put channel src dest)

Transfer a file to remote server.

Transfer a file to remote server.
sourceraw docstring

with-connectioncljmacro

(with-connection binding & body)

Open a sftp channel to execute some file operation and then close then channel.

Open a sftp channel to execute some file operation and then close then channel.
sourceraw docstring

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

× close