Skip to content

Commit

Permalink
*) Bugfix from mbirth for ftpc bug
Browse files Browse the repository at this point in the history
  • Loading branch information
theli committed Jan 20, 2006
1 parent 34a7802 commit 026dcdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/de/anomic/net/ftpc.java
Expand Up @@ -1904,7 +1904,7 @@ public static String put(String host,
}
c.exec("binary", false);
if (localFile.isAbsolute()) {
c.exec("lcd " + localFile.getParent(),false);
c.exec("lcd \"" + localFile.getParent() + "\"", false);
localFile = new File(localFile.getName());
}
c.exec("put " + localFile.toString() + ((remoteName.length() == 0) ? "" : (" " + remoteName)), false);
Expand Down

0 comments on commit 026dcdf

Please sign in to comment.