Package com.simoncat.net

Examples of com.simoncat.net.SendFileSFTP.send()


    //HACER SFTP AL SERVIDOR
    try{
      if(uploadedFileOK){
        SendFileSFTP sfsftp = new SendFileSFTP(serName,portSSH,server.getUser(),server.getPassword());
        if(sfsftp.connect()){
          sfsftp.send(uploadedFile,"/tmp");
          sfsftp.disconnect();
          transferFileOK=true;
        }
      }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.