*) Bugfix for Seed-Upload - Permission denied problem

See: http://www.yacy-forum.de/viewtopic.php?p=11648#11648

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@978 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 19 years ago
parent 097009d910
commit 446e7e8bef

@ -669,8 +669,9 @@ public final class yacySeedDB {
String log = null;
File seedFile = null;
try {
// create a seed file which for uploading ...
seedFile = new File("seedFile.txt");
// create a seed file which for uploading ...
seedFile = File.createTempFile("seedFile",".txt",((plasmaSwitchboard)sb).cacheManager.cachePath);
seedFile.deleteOnExit();
serverLog.logFine("YACY","SaveSeedList: Storing seedlist into tempfile " + seedFile.toString());
ArrayList uv = storeCache(seedFile, true);

Loading…
Cancel
Save