[svn r11063] oogie : windows compatibility improvement

skala
Julian Prud'homme 18 years ago
parent ff87b414e0
commit 2f64a307f9
  1. BIN
      main/inc/lib/ppt2png/DocumentConverter.class
  2. 8
      main/inc/lib/ppt2png/DocumentConverter.java

@ -64,11 +64,12 @@ public class DocumentConverter {
ftpPasswd = "";
}
if(host.equals("localhost")){
String prefix = "file://";
if(url.charAt(0)!='/')
url = '/'+url;
url = "file://"+url;
prefix += '/';
url = prefix+url;
remoteFolder = destinationFolder;
remoteFolderFullPath = "file://";
remoteFolderFullPath = prefix;
}
else {
remoteFolderFullPath = "file:///home/"+ftpuser+"/";
@ -237,6 +238,7 @@ public class DocumentConverter {
xFilter.filter(loadProps);
System.out.println(xPageName.getName()+".png");
//System.out.println("Page saved to url "+loadProps[1].Value);
}

Loading…
Cancel
Save