Liking cljdoc? Tell your friends :D

org.tovictory.utils.clj-sftp.sftp


*channel*clj


cdclj

(cd path)

chgrpclj

(chgrp gid path)

chmodclj

(chmod perms path)

chownclj

(chown uid path)

dir?clj

(dir? path)

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

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

exists?clj

(exists? path)

file?clj

(file? path)

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

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

getclj

(get src)
(get src dest)

lcdclj

(lcd path)

lpwdclj

(lpwd)

lsclj

(ls)
(ls path)
(ls path regex)

lstatclj

(lstat path)

获得指定路径的统计信息

获得指定路径的统计信息
raw docstring

mkdirclj

(mkdir path)

mkdirsclj

(mkdirs dir)

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

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

moveclj

(move src dest)

putclj

(put src)
(put src dest)

pwdclj

(pwd)

rmclj

(rm path)

rmdirclj

(rmdir path)

with-connectioncljmacro

(with-connection conn-spec & body)

打开一个sftp会话,然后执行body中的操作,最后关闭会话.

打开一个sftp会话,然后执行body中的操作,最后关闭会话.
raw docstring

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

× close