Merge commit 'c2341a175fdd755a34965ff63c7ea437b380352d'

pull/1/head
orbiter 13 years ago
commit ce156a01ba

@ -1969,7 +1969,8 @@ public class FTPClient {
// protocoll socket commands
private void send(final String buf) throws IOException {
this.clientOutput.writeBytes(buf);
byte[] b = buf.getBytes("UTF-8");
this.clientOutput.write(b, 0, b.length);
this.clientOutput.write('\r');
this.clientOutput.write('\n');
this.clientOutput.flush();

Loading…
Cancel
Save