We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79a775b commit 77f6eb1Copy full SHA for 77f6eb1
README.md
@@ -101,8 +101,8 @@ SFTP is supported:
101
(with-connection session
102
(let [channel (ssh-sftp session)]
103
(with-channel-connection channel
104
- (sftp channel :cd "/remote/path")
105
- (sftp channel :put "/some/file" "filename"))))))
+ (sftp channel {} :cd "/remote/path")
+ (sftp channel {} :put "/some/file" "filename"))))))
106
```
107
108
SSH tunneling is also supported:
src/clj_ssh/ssh.clj
@@ -536,7 +536,7 @@ sh returns a map of
536
(defn sftp
537
"Execute SFTP commands.
538
539
- sftp host-or-session cmd & options
+ sftp host-or-session options cmd & args
540
541
cmd specifies a command to exec. Valid commands are:
542
:ls
0 commit comments