Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1011873 // Download whole program directory (no subdirs) by SCP (OK)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 9700K of libraries. Click here for Pure Java version (1900L/13K).

!7

sS user = "root", host = "fastbob.botcompany.de";
sS progID = #1010745;

p {
  for (RemoteResourceInfo info : scpLS(user, host, "JavaX-Data/" + fsI(progID)))
    if (info.isRegularFile())
      scpDownload(user, host, info.getPath(), new File(programDir(progID), "downloaded"));
}

Author comment

Began life as a copy of #1011853

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1011873
Snippet name: Download whole program directory (no subdirs) by SCP (OK)
Eternal ID of this version: #1011873/6
Text MD5: 4969a97f176ac696d6a9e65352b3a562
Transpilation MD5: a1fc6e1fc1e107d997abb5138bba3964
Author: stefan
Category: javax / networking
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-04 04:04:40
Source code size: 293 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 355 / 881
Version history: 5 change(s)
Referenced in: [show references]