Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/g/c/gc3pie-2.1.3/gc3libs/backends/arc0.py   gc3pie(Download)
        log.debug("Downloading %s output into temporary location '%s' ...", app, tmp_download_dir)
        try:
            jftpc = arclib.JobFTPControl()
            jftpc.DownloadDirectory(jobid, tmp_download_dir)
        except arclib.FTPControlError, ex:
        # Clean remote job sessiondir
        try:
            jftpc = arclib.JobFTPControl()
            retval = jftpc.Clean(job.lrms_jobid)
        except arclib.FTPControlError:
 
        # get JobFTPControl handle
        jftpc = arclib.JobFTPControl()
        remote_url = arclib.URL(job.lrms_jobid + '/' + remote_filename)