fixed error 'FTPC cannot change directory'

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4531 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
danielr 17 years ago
parent 7ce76c8ff8
commit 6788f8f7c1

@ -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());

Loading…
Cancel
Save