From 6788f8f7c19a9348538cc0deb6aaa6b0eb3c3a64 Mon Sep 17 00:00:00 2001 From: danielr Date: Thu, 6 Mar 2008 11:59:23 +0000 Subject: [PATCH] fixed error 'FTPC cannot change directory' git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4531 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/crawler/plasmaFTPLoader.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/de/anomic/plasma/crawler/plasmaFTPLoader.java b/source/de/anomic/plasma/crawler/plasmaFTPLoader.java index 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 file this.log.logInfo("REJECTED WRONG MIME/EXT TYPE " + mimeType + " for URL " + entry.url().toString());