Package sos.ftp.profiles

Examples of sos.ftp.profiles.FTPProfile.openFile()


        if(l.contains(key)) {
          l.remove(key);
        }
        if(h.get(key).equals("file")) {
          if(isLifeElement(sosString.parseToString(key))) {
            String file = profile.openFile(sosString.parseToString(key), tempSubHotFolder);
            nameOfLifeElement.add(file.replaceAll("\\\\", "/"));
          } else if(key.endsWith(".config.xml") ){
            profile.openFile(sosString.parseToString(key), tempSubHotFolder);
          }
        }                
View Full Code Here


        if(h.get(key).equals("file")) {
          if(isLifeElement(sosString.parseToString(key))) {
            String file = profile.openFile(sosString.parseToString(key), tempSubHotFolder);
            nameOfLifeElement.add(file.replaceAll("\\\\", "/"));
          } else if(key.endsWith(".config.xml") ){
            profile.openFile(sosString.parseToString(key), tempSubHotFolder);
          }
        }                
      }

View Full Code Here

  public void openFile() {
    String file = "";
    try {

      FTPProfile profile = listener.getCurrProfile();
      file = profile.openFile(txtDir.getText() + "/" + txtFilename.getText(), null);

      if(!listener.hasError()) {
        if (MainWindow.getContainer().openQuick(file) != null) {
          MainWindow.getContainer().getCurrentTab().setData("ftp_profile_name", listener.getCurrProfileName());
          MainWindow.getContainer().getCurrentTab().setData("ftp_profile", listener.getCurrProfile());     
View Full Code Here

          //File detailsfile = new File(txtDir.getText() + "/" +  txtFilename.getText().substring(0, endP) + ".config.xml");
          //File detailsfile = new File(txtFilename.getText().substring(0, endP) + ".config.xml");
          java.util.Vector ftpFiles = profile.getList();
          // fehler wird ueber nlist return value verwertet                     
          if (!ftpFiles.isEmpty()) {
            profile.openFile(txtFilename.getText().substring(0, endP) + ".config.xml", null);
          }
        }

        profile.disconnect();
        schedulerConfigurationShell.dispose();
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.