Examples of downloadFile()

  • org.jitterbit.integration.filetransfer.serverapi.FileDownloader.downloadFile()
    Requests that the file with the specified path on the server is downloaded to the client. @param path the path, on the server, of the file to download. @param callback a FileDownloadCallback that is notified of the outcome of the request.
  • org.jitterbit.integration.server.implementation.webservice.filemanagement.client.FileManager.downloadFile()
  • org.serviceconnector.api.cln.SCFileService.downloadFile()
    Download file with default operation timeout. @param remoteFileName the remote name of the file @param outStream the out stream to store download @throws SCServiceException create file session to SC failed
    download file from Server failed
    error message received from SC
  • org.wso2.carbon.core.commons.stub.filedownload.FileDownloadServiceStub.downloadFile()

  • Examples of com.firefun.FileUpload.SmartUpload.downloadFile()

              }
                // Initialization
                mySmartUpload.initialize(config,request,response);
               
                mySmartUpload.setContentDisposition(null);
                mySmartUpload.downloadFile("/upload/"+ccmc,contenttype,filemc)
            }
            catch(Exception e)
            {
              e.printStackTrace();
            }
    View Full Code Here

    Examples of com.ibm.sbt.services.client.connections.files.FileService.downloadFile()

          fsa = new FileServiceApp(url, user, password);
         
          FileService fileService = fsa.getFileService();
          File file = fileService.getFile("087ad154-df65-43c2-8c4e-383c68337724", "6097b4ce-39dc-4db1-9d4f-4d89ff125c69", null);
          ByteArrayOutputStream baos = new ByteArrayOutputStream();
          long size = fileService.downloadFile(baos, file, null);
         
          System.out.println(DOMUtil.getXMLString(file.getDataHandler().getData()));
          System.out.println("Downloaded: "+size);
         
        } catch (Exception e) {
    View Full Code Here

    Examples of com.ibm.sbt.services.client.connections.files.FileService.downloadFile()

          FileService fileService = app.getFileService();
          Collection<File> files = fileService.getPublicFiles();
          for (File file : files) {
            if (file.getTitle().contains(".txt")) {

              fileService.downloadFile(System.out, file.getFileId(),
                  file.getLibraryId(), true);
            }
          }
        } catch (ClientServicesException e) {
          e.printStackTrace();
    View Full Code Here

    Examples of com.jspsmart.upload.SmartUpload.downloadFile()

        try {
          // 初始化
          mySmartUpload.initialize(config, request, response);
          // 设置不自动打开
          mySmartUpload.setContentDisposition(null);
          mySmartUpload.downloadFile("/upload/" + fileName);
        } catch (Exception e) {
          e.printStackTrace();
        }
      }
    View Full Code Here

    Examples of com.sun.enterprise.admin.common.JMXFileTransfer.downloadFile()

               else
                   msg = CMBStrings.get("cmb.ee.mkdirBad", destPath);
               
                logger.info(msg);
            }
            ftp.downloadFile(remLoc, locLoc);
            logger.info(CMBStrings.get("cmb.ee.downloadClass", locLoc));
            //now synchronize possible standard mbean interface
            final String sbiRemLoc = remLoc.substring(0, remLoc.lastIndexOf(".class")) + "MBean.class";
            try {
                ftp.downloadFile(sbiRemLoc, locLoc);
    View Full Code Here

    Examples of com.sun.enterprise.admin.common.JMXFileTransfer.downloadFile()

            ftp.downloadFile(remLoc, locLoc);
            logger.info(CMBStrings.get("cmb.ee.downloadClass", locLoc));
            //now synchronize possible standard mbean interface
            final String sbiRemLoc = remLoc.substring(0, remLoc.lastIndexOf(".class")) + "MBean.class";
            try {
                ftp.downloadFile(sbiRemLoc, locLoc);
                logger.info(CMBStrings.get("cmb.ee.downloadInterfaceGood", sbiRemLoc));
            } catch(final Exception e) {
                logger.info(CMBStrings.get("cmb.ee.downloadInterfaceBad"));
            }
        }
    View Full Code Here

    Examples of net.sf.jabref.external.ExternalFilePanel.downLoadFile()

                }
            });

            download.addActionListener(new ActionListener () {
                public void actionPerformed(ActionEvent event) {
                    extPan.downLoadFile(fieldName, editor, ths);
                }
            });

            auto.addActionListener(new ActionListener () {
                        public void actionPerformed(ActionEvent event) {
    View Full Code Here

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

        private void downloadFile(InvocationContext context, URI src, String localFile) throws SecurityException,
                ToolsException {
            GridFtp ftp = new GridFtp();
            GSSCredential gssCred = ((GSISecurityContext) context.getSecurityContext(MYPROXY_SECURITY_CONTEXT))
                    .getGssCredentails();
            ftp.downloadFile(src, gssCred, new File(localFile));
        }
    }
    View Full Code Here

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

        private void downloadFile(InvocationContext context, URI src, String localFile) throws SecurityException,
                ToolsException {
            GridFtp ftp = new GridFtp();
            GSSCredential gssCred = ((GSISecurityContext) context.getSecurityContext(MYPROXY_SECURITY_CONTEXT))
                    .getGssCredentails();
            ftp.downloadFile(src, gssCred, new File(localFile));
        }
    }
    View Full Code Here

    Examples of org.fenrir.yggdrasil.core.service.IApplicationUpdateService.downloadFile()

                        if(ArtifactUpdateDescriptor.TYPE_CREATE_ARTIFACT.equals(descriptor.getType())
                                || ArtifactUpdateDescriptor.TYPE_UPDATE_ARTIFACT.equals(descriptor.getType())){
                            String url = descriptor.getUrl();
                            String filename = descriptor.getDestinationPath();
                            publish("Descarregant " + url);
                            updateService.downloadFile(url, filename);                        
                        }
                    }
                    // S'actualitza el fitxer descriptor per indicar que s'ha d'actualitzar a la pròxima arrancada de l'aplicació
                    actions.setUpdatable(true);
                    updateService.saveActionsFile(actions);
    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.