Package org.apache.airavata.core.gfac.external

Examples of org.apache.airavata.core.gfac.external.GridFtp.transfer()


        GlobusHostType host = (GlobusHostType) context.getExecutionDescription().getHost().getType();

        for (String endpoint : host.getGridFTPEndPointArray()) {
            try {
                URI srcURI = GfacUtils.createGsiftpURI(endpoint, remoteSrcFile);
                ftp.transfer(srcURI, dest, gssCred, true);
                return;
            } catch (ToolsException e) {
                log.error(e.getMessage(), e);
            }
        }
View Full Code Here


        GlobusHostType host = (GlobusHostType) context.getExecutionDescription().getHost().getType();
       
        for (String endpoint : host.getGridFTPEndPointArray()) {
            try {
                URI inputURI = GfacUtils.createGsiftpURI(endpoint, remoteFile);
                ftp.transfer(src, inputURI, gssCred, true);
                return;
            } catch (ToolsException e) {
                log.error(e.getMessage(), e);
            }
        }       
View Full Code Here

        GlobusHostType host = (GlobusHostType) context.getExecutionDescription().getHost().getType();

        for (String endpoint : host.getGridFTPEndPointArray()) {
            try {
                URI srcURI = GfacUtils.createGsiftpURI(endpoint, remoteSrcFile);
                ftp.transfer(srcURI, dest, gssCred, true);
                return;
            } catch (ToolsException e) {
                log.error(e.getMessage(), e);
            }
        }
View Full Code Here

        GlobusHostType host = (GlobusHostType) context.getExecutionDescription().getHost().getType();
       
        for (String endpoint : host.getGridFTPEndPointArray()) {
            try {
                URI inputURI = GfacUtils.createGsiftpURI(endpoint, remoteFile);
                ftp.transfer(src, inputURI, gssCred, true);
                return;
            } catch (ToolsException e) {
                log.error(e.getMessage(), e);
            }
        }       
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.