org.eclipse.swt.custom.CTabItem currentTab = MainWindow.getContainer().getCurrentTab();
if(currentTab != null && currentTab.getData("ftp_title") != null &&
currentTab.getData("ftp_title").toString().length()>0) {
String remoteDir = currentTab.getData("ftp_remote_directory").toString();
DomParser currdom = MainWindow.getSpecifiedDom();
if(currdom == null)
return;
if( currdom instanceof SchedulerDom && ((SchedulerDom)currdom).isDirectory()) {
remoteDir = remoteDir + "/" + new File(xmlFilename).getName();