java - Jsch or SSHJ or Ganymed SSH-2? -


  1. i need connect server(username,pasw,host)-- easy

  2. enter 3-10 commands -- command="dir;date;cd;dir" there easier way ?, without writing 20 lines: while(smtng) { lot of stuff+ mysterious print scr:d }

  3. download file-- easy

  4. write downloaded file same file (add not owerride) -- ideas how?

so perform these increadible easy tasks, might seem impossible if dare use jsch(awsome documentation), there choise between jsch,sshj,ganymed suggestions?

mystery:

2) multiple commands entering

4) adding existing txt file more txt :d (probably there build in command) or not?

  /* download/owerride : sftpchannel.get("downloadfile.txt", "savefile.txt");*/ 

i can't comment on others ganymed works indeed.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -