*) Bugfix from mbirth for ftpc bug

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

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1381 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 19 years ago
parent 34a7802a36
commit 026dcdfcc0

@ -1904,7 +1904,7 @@ cd ..
} }
c.exec("binary", false); c.exec("binary", false);
if (localFile.isAbsolute()) { if (localFile.isAbsolute()) {
c.exec("lcd " + localFile.getParent(),false); c.exec("lcd \"" + localFile.getParent() + "\"", false);
localFile = new File(localFile.getName()); localFile = new File(localFile.getName());
} }
c.exec("put " + localFile.toString() + ((remoteName.length() == 0) ? "" : (" " + remoteName)), false); c.exec("put " + localFile.toString() + ((remoteName.length() == 0) ? "" : (" " + remoteName)), false);

Loading…
Cancel
Save