Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fixed error 'FTPC cannot change directory'
danielr6788f8f7c19a
diff --git a/source/de/anomic/plasma/crawler/plasmaFTPLoader.java b/source/de/anomic/plasma/crawler/plasmaFTPLoader.javaindex 004c902aa..8872a9a0b 100644--- a/source/de/anomic/plasma/crawler/plasmaFTPLoader.java+++ b/source/de/anomic/plasma/crawler/plasmaFTPLoader.java@@ -215,10 +215,10 @@ public class plasmaFTPLoader {htCache = createCacheEntry(entry, mimeType, fileDate);// change into working directory- ftpClient.exec("cd \"" + fullPath + "\"", false);+ //ftpClient.exec("cd \"" + path + "\"", false);// download the remote file- ftpClient.exec("get \"" + file + "\" \"" + cacheFile.getAbsolutePath() + "\"", false);+ ftpClient.exec("get \"" + fullPath + "\" \"" + cacheFile.getAbsolutePath() + "\"", false);} else {// if the response has not the right file type then reject filethis.log.logInfo("REJECTED WRONG MIME/EXT TYPE " + mimeType + " for URL " + entry.url().toString());