Package com.sos.VirtualFileSystem.FTP

Examples of com.sos.VirtualFileSystem.FTP.SOSFTPOptions


   
    logger.info(getMsg(SOSDX_Intro)); //$NON-NLS-1$

    try {
      SOSDataExchangeEngine objM = new SOSDataExchangeEngine();
      SOSFTPOptions objO = objM.Options();

      objO.SendTransferHistory.value(true);
     
      objO.CommandLineArgs(pstrArgs);
      objO.CheckMandatory();
      objM.Execute();
      objM.Logout();
    }

    catch (Exception e) {
View Full Code Here


    return objVFS4Target;
  }

  public SOSFTPOptions Options() {
    if (objOptions == null) {
      objOptions = new SOSFTPOptions();
    }
    return objOptions;
  }
View Full Code Here

    if (objURL != null) {
      String strHost = objURL.getHost();
      if (strHost != null) {
        int intPort = objURL.getPort();
        objC.Connect(strHost, intPort);
        ISOSAuthenticationOptions objAO = new SOSFTPOptions();
        String strUserInfo = objURL.getUserInfo();
        logger.info("User-Info = " + strUserInfo);
        String[] strUI = strUserInfo.split(":");
        objAO.getUser().Value(strUI[0]);
        objAO.getPassword().Value(strUI[1]);
        objC.Authenticate(objAO);
        objAO = null;
        logger.info("objURL.getAuthority() : " + objURL.getAuthority());
        logger.info("objURL.getFile()" + objURL.getFile());
      }
View Full Code Here

  private void doProcessing() throws Exception {
    final String conMethodName = conClassName + "::doProcessing"; //$NON-NLS-1$

    SOSDataExchangeEngine objR = new SOSDataExchangeEngine();
    SOSFTPOptions objO = objR.Options();
    objO.CurrentNodeName(getCurrentNodeName());
    HashMap<String, String> hsmParameters = getSchedulerParameterAsProperties(getParameters());
    objO.setAllOptions(DeletePrefix(hsmParameters, "ftp_"));
    objO.CheckMandatory();
    int intLogLevel = spooler_log.level();
    if (intLogLevel < 0) {
      logger.debug(objO.toString());
    }
   
    logger.info(String.format("%1$s with operation %2$s started.", conMethodName, objO.operation.Value()));
    objR.setJSJobUtilites(this);
    objR.Execute();
View Full Code Here

TOP

Related Classes of com.sos.VirtualFileSystem.FTP.SOSFTPOptions

Copyright © 2018 www.massapicom. 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.