Package com.simoncat.net

Examples of com.simoncat.net.SendFileSFTP


    int portSSH = new Integer(server.getPortSSH()).intValue();

    //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;
        }
      }
    }
    catch(Exception e){
View Full Code Here

TOP

Related Classes of com.simoncat.net.SendFileSFTP

Copyright © 2018 www.massapicom. 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.