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){