1 | static void scpMkdir(S user, S host, S dir) ctex {
|
2 | final SSHClient client = sshLogin(user, host); |
3 | try {
|
4 | print("Making directory on " + user + "@" + host + ": " + dir);
|
5 | client.newSFTPClient().mkdirs(dir); |
6 | } finally {
|
7 | sshDisconnect(client); |
8 | } |
9 | } |
Began life as a copy of #1011899
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1011943 |
| Snippet name: | scpMkdir - make directory via SCP |
| Eternal ID of this version: | #1011943/4 |
| Text MD5: | 7c12a8b71eb81fa9e8fa68c308768468 |
| Author: | stefan |
| Category: | javax / networking |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-11-27 22:38:26 |
| Source code size: | 272 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 799 / 833 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |