You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by ma...@apache.org on 2020/01/18 11:34:20 UTC

[netbeans] branch master updated: [NETBEANS-3647] Update FtpClient.java - compatibility with IIS

This is an automated email from the ASF dual-hosted git repository.

matthiasblaesing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new c7ca6ed  [NETBEANS-3647] Update FtpClient.java - compatibility with IIS
     new 3fb6652  Merge pull request #1880 from oli0044/patch-2
c7ca6ed is described below

commit c7ca6edda3df2773d50b1d04446ac49895e0730d
Author: Olivier Seubert <ol...@yahoo.de>
AuthorDate: Fri Jan 17 22:20:23 2020 +0100

    [NETBEANS-3647] Update FtpClient.java - compatibility with IIS
    
    FTP upload stops when uploading to IIS FTP reporting a Truncated server reply: '550 '. The broken behavior can be worked around by configuring the ftp client to be lenitent when parsing server replies.
---
 .../src/org/netbeans/modules/php/project/connections/ftp/FtpClient.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/php/php.project/src/org/netbeans/modules/php/project/connections/ftp/FtpClient.java b/php/php.project/src/org/netbeans/modules/php/project/connections/ftp/FtpClient.java
index 6ce7623..f40ad9b 100644
--- a/php/php.project/src/org/netbeans/modules/php/project/connections/ftp/FtpClient.java
+++ b/php/php.project/src/org/netbeans/modules/php/project/connections/ftp/FtpClient.java
@@ -158,6 +158,7 @@ public class FtpClient implements RemoteClient {
             if (LOGGER.isLoggable(Level.FINE)) {
                 LOGGER.log(Level.FINE, "Connecting to {0} [timeout: {1} ms]", new Object[] {configuration.getHost(), timeout});
             }
+            ftpClient.setStrictReplyParsing(false);
             ftpClient.setDefaultTimeout(timeout);
             ftpClient.setControlKeepAliveReplyTimeout(keepAliveInterval);
             if (LOGGER.isLoggable(Level.FINE)) {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists