*) Bugfix for Seed file upload problem via ftpc

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

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@984 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 19 years ago
parent 9a2afe88d4
commit d3ad712418

@ -1902,6 +1902,10 @@ cd ..
c.exec("cd " + remotePath, false);
}
c.exec("binary", false);
if (localFile.isAbsolute()) {
c.exec("lcd " + localFile.getParent(),false);
localFile = new File(localFile.getName());
}
c.exec("put " + localFile.toString() + ((remoteName.length() == 0) ? "" : (" " + remoteName)), false);
c.exec("close", false);
c.exec("exit", false);

Loading…
Cancel
Save