Examples of scpTo()


Examples of org.apache.airavata.gsi.ssh.impl.PBSCluster.scpTo()

            Set<String> keys = output.keySet();
            for (String paramName : keys) {
                ActualParameter actualParameter = (ActualParameter) output.get(paramName);
                if ("URI".equals(actualParameter.getType().getType().toString())) {
                  String downloadFile = MappingFactory.toString(actualParameter);
                  pbsCluster.scpTo(outputPath, downloadFile);
                    String fileName = downloadFile.substring(downloadFile.lastIndexOf(File.separatorChar)+1, downloadFile.length());
                    DataObjectType dataObjectType = new DataObjectType();
                    dataObjectType.setValue(outputPath + File.separatorChar + fileName);
                    dataObjectType.setKey(paramName);
                    dataObjectType.setType(DataType.URI);
View Full Code Here

Examples of org.apache.airavata.gsi.ssh.util.SSHUtils.scpTo()

        GSIAuthenticationInfo authenticationInfo
                = new MyProxyAuthenticationInfo(myProxyUserName, myProxyPassword, "myproxy.teragrid.org",
                7512, 17280000,certificateLocation);
        ServerInfo serverInfo = new ServerInfo("ogce" ,"trestles.sdsc.edu");
        SSHUtils SSHUtils = new SSHUtils(serverInfo, authenticationInfo, this.certificateLocation, new ConfigReader());
        SSHUtils.scpTo(rFilePath, lFilePath);
        Thread.sleep(1000);
        SSHUtils.scpFrom(File.separator + "tmp" + File.separator + "pom.xml", System.getProperty("basedir"));
    }

View Full Code Here

Examples of org.apache.airavata.gsi.ssh.util.SSHUtils.scpTo()

        GSIAuthenticationInfo authenticationInfo
                = new MyProxyAuthenticationInfo(myProxyUserName, myProxyPassword, "myproxy.teragrid.org",
                7512, 17280000,certificateLocation);
        ServerInfo serverInfo = new ServerInfo("ogce" ,"trestles.sdsc.edu");
        SSHUtils scpTo = new SSHUtils(serverInfo,authenticationInfo,this.certificateLocation,new ConfigReader());
        scpTo.scpTo(rFilePath, lFilePath);
    }
}
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.