Download Jar. Uses 9700K of libraries. Click here for Pure Java version (2052L/13K).
!7 sS user = "root", host = "botcompany.de"; sS progID = #1010745; p { set sshLogin_keepOpen; File dir = programDir(progID); File backupDir = countTillNewFile(newFile(dir, "backup")); for (File f : listFilesOnly(dir)) renameFile(f, newFile(backupDir, f.getName())); for (RemoteResourceInfo info : scpLS(user, host, "JavaX-Data/" + fsI(progID))) if (info.isRegularFile()) scpDownload(user, host, info.getPath(), dir); }
Began life as a copy of #1011873
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: | #1011885 |
Snippet name: | Download Smart Bot's files from server (TODO: update for notebook server) |
Eternal ID of this version: | #1011885/9 |
Text MD5: | 6b477628832c2fc4d2ba2290ff7deec9 |
Transpilation MD5: | 883493d91ab4adbdcda6c3fa244fd552 |
Author: | stefan |
Category: | javax / networking |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-02 16:36:35 |
Source code size: | 464 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 581 / 1330 |
Version history: | 8 change(s) |
Referenced in: | [show references] |