[jira] [Closed] (NETBEANS-3647) FTP upload stops when uploading to IIS FTP service "550 "

2020-01-18 Thread Oli4 (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oli4 closed NETBEANS-3647.
--

> FTP upload stops when uploading to IIS FTP service "550 "
> -
>
> Key: NETBEANS-3647
> URL: https://issues.apache.org/jira/browse/NETBEANS-3647
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Remote, php - FTP Support
>Affects Versions: 11.0, 11.1, 11.2
>Reporter: Oli4
>Assignee: Oli4
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.3
>
>  Time Spent: 3h
>  Remaining Estimate: 0h
>
> Hi
> when uploading to a Microsoft IIS FTP server there are some cases, when IIS 
> FTP server does not conform strictly to RFC 959. For example when uploading 
> to a non-existing subfolder Microsoft IIS responds with "550 ", giving the 
> return code but omitting the reason.
> This throws a MalformedServerReplyException in Netbeans. (Please see the 
> complete error log underneath).
> I believe, that this behaviour can be optimized by using the function 
> [https://commons.apache.org/proper/commons-net/apidocs/org/apache/commons/net/ftp/FTP.html#setStrictReplyParsing(boolean)]
>  .
> I understand, that this is strictly a Microsoft bug, but hopefully this can 
> be updated in Netbeans since I do not see any chance of Microsoft changing 
> this bug any time soon.
> I would really apreciate it, if this can be "fixed" in the next version.
> Thanks and Greetings from Germany
> Oli4
>  
> Full error log:
> FINE [org.netbeans.modules.php.project.connections.ftp.FtpClient]: Command 
> listener: CWD /test/test
> FINE [org.netbeans.modules.php.project.connections.ftp.FtpClient]: Error 
> while changing directory /test/test
> org.apache.commons.net.MalformedServerReplyException: Truncated server reply: 
> '550 '
>  at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:374)
>  at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:300)
>  at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:523)
>  at org.apache.commons.net.ftp.FTPSClient.sendCommand(FTPSClient.java:568)
>  at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:648)
>  at org.apache.commons.net.ftp.FTP.cwd(FTP.java:868)
>  at 
> org.apache.commons.net.ftp.FTPClient.changeWorkingDirectory(FTPClient.java:1167)
> [catch] at 
> org.netbeans.modules.php.project.connections.ftp.FtpClient.changeWorkingDirectory(FtpClient.java:468)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.cdRemoteDirectory(RemoteClient.java:1200)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.cdBaseRemoteDirectory(RemoteClient.java:1195)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.uploadFileInternal(RemoteClient.java:382)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.uploadFile(RemoteClient.java:347)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.upload(RemoteClient.java:328)
>  at 
> org.netbeans.modules.php.project.ui.actions.UploadCommand.upload(UploadCommand.java:150)
>  at 
> org.netbeans.modules.php.project.ui.actions.UploadCommand.uploadFiles(UploadCommand.java:98)
>  at 
> org.netbeans.modules.php.project.ui.actions.UploadCommand.invokeActionImpl(UploadCommand.java:82)
>  at 
> org.netbeans.modules.php.project.ui.actions.UploadCommand$1.run(UploadCommand.java:69)
>  at 
> org.netbeans.modules.php.project.ui.actions.RemoteCommand$1.run(RemoteCommand.java:84)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> INFO [org.netbeans.modules.php.project.connections.RemoteClient]
> org.apache.commons.net.MalformedServerReplyException: Truncated server reply: 
> '550 '
>  at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:374)
>  at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:300)
>  at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:523)
>  at org.apache.commons.net.ftp.FTPSClient.sendCommand(FTPSClient.java:568)
>  at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:648)
>  at org.apache.commons.net.ftp.FTP.cwd(FTP.java:868)
>  at 
> org.apache.commons.net.ftp.FTPClient.changeWorkingDirectory(FTPClient.java:1167)
> [catch] at 
> org.netbeans.modules.php.project.connections.ftp.FtpClient.changeWorkingDirectory(FtpClient.java:468)
> Caused: org.netbeans.modules.php.project.connections.RemoteException: Cannot 
> change directory to /test/test.
>  at 
> org.netbeans.modules.php.project.connections.ftp.FtpClient.changeWorkingDirectory(FtpClient.java:472)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.cdRemoteDir

[jira] [Commented] (NETBEANS-3647) FTP upload stops when uploading to IIS FTP service "550 "

2020-01-18 Thread Oli4 (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17018568#comment-17018568
 ] 

Oli4 commented on NETBEANS-3647:


Solved in PR #1880 and merged for the 11.3 release

> FTP upload stops when uploading to IIS FTP service "550 "
> -
>
> Key: NETBEANS-3647
> URL: https://issues.apache.org/jira/browse/NETBEANS-3647
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Remote, php - FTP Support
>Affects Versions: 11.0, 11.1, 11.2
>Reporter: Oli4
>Assignee: Oli4
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.3
>
>  Time Spent: 3h
>  Remaining Estimate: 0h
>
> Hi
> when uploading to a Microsoft IIS FTP server there are some cases, when IIS 
> FTP server does not conform strictly to RFC 959. For example when uploading 
> to a non-existing subfolder Microsoft IIS responds with "550 ", giving the 
> return code but omitting the reason.
> This throws a MalformedServerReplyException in Netbeans. (Please see the 
> complete error log underneath).
> I believe, that this behaviour can be optimized by using the function 
> [https://commons.apache.org/proper/commons-net/apidocs/org/apache/commons/net/ftp/FTP.html#setStrictReplyParsing(boolean)]
>  .
> I understand, that this is strictly a Microsoft bug, but hopefully this can 
> be updated in Netbeans since I do not see any chance of Microsoft changing 
> this bug any time soon.
> I would really apreciate it, if this can be "fixed" in the next version.
> Thanks and Greetings from Germany
> Oli4
>  
> Full error log:
> FINE [org.netbeans.modules.php.project.connections.ftp.FtpClient]: Command 
> listener: CWD /test/test
> FINE [org.netbeans.modules.php.project.connections.ftp.FtpClient]: Error 
> while changing directory /test/test
> org.apache.commons.net.MalformedServerReplyException: Truncated server reply: 
> '550 '
>  at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:374)
>  at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:300)
>  at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:523)
>  at org.apache.commons.net.ftp.FTPSClient.sendCommand(FTPSClient.java:568)
>  at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:648)
>  at org.apache.commons.net.ftp.FTP.cwd(FTP.java:868)
>  at 
> org.apache.commons.net.ftp.FTPClient.changeWorkingDirectory(FTPClient.java:1167)
> [catch] at 
> org.netbeans.modules.php.project.connections.ftp.FtpClient.changeWorkingDirectory(FtpClient.java:468)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.cdRemoteDirectory(RemoteClient.java:1200)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.cdBaseRemoteDirectory(RemoteClient.java:1195)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.uploadFileInternal(RemoteClient.java:382)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.uploadFile(RemoteClient.java:347)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.upload(RemoteClient.java:328)
>  at 
> org.netbeans.modules.php.project.ui.actions.UploadCommand.upload(UploadCommand.java:150)
>  at 
> org.netbeans.modules.php.project.ui.actions.UploadCommand.uploadFiles(UploadCommand.java:98)
>  at 
> org.netbeans.modules.php.project.ui.actions.UploadCommand.invokeActionImpl(UploadCommand.java:82)
>  at 
> org.netbeans.modules.php.project.ui.actions.UploadCommand$1.run(UploadCommand.java:69)
>  at 
> org.netbeans.modules.php.project.ui.actions.RemoteCommand$1.run(RemoteCommand.java:84)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> INFO [org.netbeans.modules.php.project.connections.RemoteClient]
> org.apache.commons.net.MalformedServerReplyException: Truncated server reply: 
> '550 '
>  at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:374)
>  at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:300)
>  at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:523)
>  at org.apache.commons.net.ftp.FTPSClient.sendCommand(FTPSClient.java:568)
>  at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:648)
>  at org.apache.commons.net.ftp.FTP.cwd(FTP.java:868)
>  at 
> org.apache.commons.net.ftp.FTPClient.changeWorkingDirectory(FTPClient.java:1167)
> [catch] at 
> org.netbeans.modules.php.project.connections.ftp.FtpClient.changeWorkingDirectory(FtpClient.java:468)
> Caused: org.netbeans.modules.php.project.connections.RemoteException: Cannot 
> change directory to /test/test.
>  at 
> org.netbeans.modules.php.project.connections.ftp.FtpClient.changeWork

[jira] [Resolved] (NETBEANS-3647) FTP upload stops when uploading to IIS FTP service "550 "

2020-01-18 Thread Oli4 (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oli4 resolved NETBEANS-3647.

Fix Version/s: 11.3
   Resolution: Fixed

> FTP upload stops when uploading to IIS FTP service "550 "
> -
>
> Key: NETBEANS-3647
> URL: https://issues.apache.org/jira/browse/NETBEANS-3647
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Remote, php - FTP Support
>Affects Versions: 11.0, 11.1, 11.2
>Reporter: Oli4
>Assignee: Oli4
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.3
>
>  Time Spent: 3h
>  Remaining Estimate: 0h
>
> Hi
> when uploading to a Microsoft IIS FTP server there are some cases, when IIS 
> FTP server does not conform strictly to RFC 959. For example when uploading 
> to a non-existing subfolder Microsoft IIS responds with "550 ", giving the 
> return code but omitting the reason.
> This throws a MalformedServerReplyException in Netbeans. (Please see the 
> complete error log underneath).
> I believe, that this behaviour can be optimized by using the function 
> [https://commons.apache.org/proper/commons-net/apidocs/org/apache/commons/net/ftp/FTP.html#setStrictReplyParsing(boolean)]
>  .
> I understand, that this is strictly a Microsoft bug, but hopefully this can 
> be updated in Netbeans since I do not see any chance of Microsoft changing 
> this bug any time soon.
> I would really apreciate it, if this can be "fixed" in the next version.
> Thanks and Greetings from Germany
> Oli4
>  
> Full error log:
> FINE [org.netbeans.modules.php.project.connections.ftp.FtpClient]: Command 
> listener: CWD /test/test
> FINE [org.netbeans.modules.php.project.connections.ftp.FtpClient]: Error 
> while changing directory /test/test
> org.apache.commons.net.MalformedServerReplyException: Truncated server reply: 
> '550 '
>  at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:374)
>  at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:300)
>  at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:523)
>  at org.apache.commons.net.ftp.FTPSClient.sendCommand(FTPSClient.java:568)
>  at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:648)
>  at org.apache.commons.net.ftp.FTP.cwd(FTP.java:868)
>  at 
> org.apache.commons.net.ftp.FTPClient.changeWorkingDirectory(FTPClient.java:1167)
> [catch] at 
> org.netbeans.modules.php.project.connections.ftp.FtpClient.changeWorkingDirectory(FtpClient.java:468)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.cdRemoteDirectory(RemoteClient.java:1200)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.cdBaseRemoteDirectory(RemoteClient.java:1195)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.uploadFileInternal(RemoteClient.java:382)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.uploadFile(RemoteClient.java:347)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.upload(RemoteClient.java:328)
>  at 
> org.netbeans.modules.php.project.ui.actions.UploadCommand.upload(UploadCommand.java:150)
>  at 
> org.netbeans.modules.php.project.ui.actions.UploadCommand.uploadFiles(UploadCommand.java:98)
>  at 
> org.netbeans.modules.php.project.ui.actions.UploadCommand.invokeActionImpl(UploadCommand.java:82)
>  at 
> org.netbeans.modules.php.project.ui.actions.UploadCommand$1.run(UploadCommand.java:69)
>  at 
> org.netbeans.modules.php.project.ui.actions.RemoteCommand$1.run(RemoteCommand.java:84)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> INFO [org.netbeans.modules.php.project.connections.RemoteClient]
> org.apache.commons.net.MalformedServerReplyException: Truncated server reply: 
> '550 '
>  at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:374)
>  at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:300)
>  at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:523)
>  at org.apache.commons.net.ftp.FTPSClient.sendCommand(FTPSClient.java:568)
>  at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:648)
>  at org.apache.commons.net.ftp.FTP.cwd(FTP.java:868)
>  at 
> org.apache.commons.net.ftp.FTPClient.changeWorkingDirectory(FTPClient.java:1167)
> [catch] at 
> org.netbeans.modules.php.project.connections.ftp.FtpClient.changeWorkingDirectory(FtpClient.java:468)
> Caused: org.netbeans.modules.php.project.connections.RemoteException: Cannot 
> change directory to /test/test.
>  at 
> org.netbeans.modules.php.project.connections.ftp.FtpClient.changeWorkingDirectory(FtpClient.java:472)
>  at 
> org.netbeans.mod

[jira] [Assigned] (NETBEANS-3647) FTP upload stops when uploading to IIS FTP service "550 "

2020-01-18 Thread Oli4 (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oli4 reassigned NETBEANS-3647:
--

Assignee: Oli4

> FTP upload stops when uploading to IIS FTP service "550 "
> -
>
> Key: NETBEANS-3647
> URL: https://issues.apache.org/jira/browse/NETBEANS-3647
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Remote, php - FTP Support
>Affects Versions: 11.0, 11.1, 11.2
>Reporter: Oli4
>Assignee: Oli4
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 3h
>  Remaining Estimate: 0h
>
> Hi
> when uploading to a Microsoft IIS FTP server there are some cases, when IIS 
> FTP server does not conform strictly to RFC 959. For example when uploading 
> to a non-existing subfolder Microsoft IIS responds with "550 ", giving the 
> return code but omitting the reason.
> This throws a MalformedServerReplyException in Netbeans. (Please see the 
> complete error log underneath).
> I believe, that this behaviour can be optimized by using the function 
> [https://commons.apache.org/proper/commons-net/apidocs/org/apache/commons/net/ftp/FTP.html#setStrictReplyParsing(boolean)]
>  .
> I understand, that this is strictly a Microsoft bug, but hopefully this can 
> be updated in Netbeans since I do not see any chance of Microsoft changing 
> this bug any time soon.
> I would really apreciate it, if this can be "fixed" in the next version.
> Thanks and Greetings from Germany
> Oli4
>  
> Full error log:
> FINE [org.netbeans.modules.php.project.connections.ftp.FtpClient]: Command 
> listener: CWD /test/test
> FINE [org.netbeans.modules.php.project.connections.ftp.FtpClient]: Error 
> while changing directory /test/test
> org.apache.commons.net.MalformedServerReplyException: Truncated server reply: 
> '550 '
>  at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:374)
>  at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:300)
>  at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:523)
>  at org.apache.commons.net.ftp.FTPSClient.sendCommand(FTPSClient.java:568)
>  at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:648)
>  at org.apache.commons.net.ftp.FTP.cwd(FTP.java:868)
>  at 
> org.apache.commons.net.ftp.FTPClient.changeWorkingDirectory(FTPClient.java:1167)
> [catch] at 
> org.netbeans.modules.php.project.connections.ftp.FtpClient.changeWorkingDirectory(FtpClient.java:468)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.cdRemoteDirectory(RemoteClient.java:1200)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.cdBaseRemoteDirectory(RemoteClient.java:1195)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.uploadFileInternal(RemoteClient.java:382)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.uploadFile(RemoteClient.java:347)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.upload(RemoteClient.java:328)
>  at 
> org.netbeans.modules.php.project.ui.actions.UploadCommand.upload(UploadCommand.java:150)
>  at 
> org.netbeans.modules.php.project.ui.actions.UploadCommand.uploadFiles(UploadCommand.java:98)
>  at 
> org.netbeans.modules.php.project.ui.actions.UploadCommand.invokeActionImpl(UploadCommand.java:82)
>  at 
> org.netbeans.modules.php.project.ui.actions.UploadCommand$1.run(UploadCommand.java:69)
>  at 
> org.netbeans.modules.php.project.ui.actions.RemoteCommand$1.run(RemoteCommand.java:84)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> INFO [org.netbeans.modules.php.project.connections.RemoteClient]
> org.apache.commons.net.MalformedServerReplyException: Truncated server reply: 
> '550 '
>  at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:374)
>  at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:300)
>  at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:523)
>  at org.apache.commons.net.ftp.FTPSClient.sendCommand(FTPSClient.java:568)
>  at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:648)
>  at org.apache.commons.net.ftp.FTP.cwd(FTP.java:868)
>  at 
> org.apache.commons.net.ftp.FTPClient.changeWorkingDirectory(FTPClient.java:1167)
> [catch] at 
> org.netbeans.modules.php.project.connections.ftp.FtpClient.changeWorkingDirectory(FtpClient.java:468)
> Caused: org.netbeans.modules.php.project.connections.RemoteException: Cannot 
> change directory to /test/test.
>  at 
> org.netbeans.modules.php.project.connections.ftp.FtpClient.changeWorkingDirectory(FtpClient.java:472)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.cdRemoteDirec

[jira] [Updated] (NETBEANS-3647) FTP upload stops when uploading to IIS FTP service "550 "

2020-01-14 Thread Oli4 (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oli4 updated NETBEANS-3647:
---
Component/s: cnd - Remote

> FTP upload stops when uploading to IIS FTP service "550 "
> -
>
> Key: NETBEANS-3647
> URL: https://issues.apache.org/jira/browse/NETBEANS-3647
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Remote, php - FTP Support
>Affects Versions: 11.0, 11.1, 11.2
>Reporter: Oli4
>Priority: Major
>
> Hi
> when uploading to a Microsoft IIS FTP server there are some cases, when IIS 
> FTP server does not conform strictly to RFC 959. For example when uploading 
> to a non-existing subfolder Microsoft IIS responds with "550 ", giving the 
> return code but omitting the reason.
> This throws a MalformedServerReplyException in Netbeans. (Please see the 
> complete error log underneath).
> I believe, that this behaviour can be optimized by using the function 
> [https://commons.apache.org/proper/commons-net/apidocs/org/apache/commons/net/ftp/FTP.html#setStrictReplyParsing(boolean)]
>  .
> I understand, that this is strictly a Microsoft bug, but hopefully this can 
> be updated in Netbeans since I do not see any chance of Microsoft changing 
> this bug any time soon.
> I would really apreciate it, if this can be "fixed" in the next version.
> Thanks and Greetings from Germany
> Oli4
>  
> Full error log:
> FINE [org.netbeans.modules.php.project.connections.ftp.FtpClient]: Command 
> listener: CWD /test/test
> FINE [org.netbeans.modules.php.project.connections.ftp.FtpClient]: Error 
> while changing directory /test/test
> org.apache.commons.net.MalformedServerReplyException: Truncated server reply: 
> '550 '
>  at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:374)
>  at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:300)
>  at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:523)
>  at org.apache.commons.net.ftp.FTPSClient.sendCommand(FTPSClient.java:568)
>  at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:648)
>  at org.apache.commons.net.ftp.FTP.cwd(FTP.java:868)
>  at 
> org.apache.commons.net.ftp.FTPClient.changeWorkingDirectory(FTPClient.java:1167)
> [catch] at 
> org.netbeans.modules.php.project.connections.ftp.FtpClient.changeWorkingDirectory(FtpClient.java:468)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.cdRemoteDirectory(RemoteClient.java:1200)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.cdBaseRemoteDirectory(RemoteClient.java:1195)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.uploadFileInternal(RemoteClient.java:382)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.uploadFile(RemoteClient.java:347)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.upload(RemoteClient.java:328)
>  at 
> org.netbeans.modules.php.project.ui.actions.UploadCommand.upload(UploadCommand.java:150)
>  at 
> org.netbeans.modules.php.project.ui.actions.UploadCommand.uploadFiles(UploadCommand.java:98)
>  at 
> org.netbeans.modules.php.project.ui.actions.UploadCommand.invokeActionImpl(UploadCommand.java:82)
>  at 
> org.netbeans.modules.php.project.ui.actions.UploadCommand$1.run(UploadCommand.java:69)
>  at 
> org.netbeans.modules.php.project.ui.actions.RemoteCommand$1.run(RemoteCommand.java:84)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> INFO [org.netbeans.modules.php.project.connections.RemoteClient]
> org.apache.commons.net.MalformedServerReplyException: Truncated server reply: 
> '550 '
>  at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:374)
>  at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:300)
>  at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:523)
>  at org.apache.commons.net.ftp.FTPSClient.sendCommand(FTPSClient.java:568)
>  at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:648)
>  at org.apache.commons.net.ftp.FTP.cwd(FTP.java:868)
>  at 
> org.apache.commons.net.ftp.FTPClient.changeWorkingDirectory(FTPClient.java:1167)
> [catch] at 
> org.netbeans.modules.php.project.connections.ftp.FtpClient.changeWorkingDirectory(FtpClient.java:468)
> Caused: org.netbeans.modules.php.project.connections.RemoteException: Cannot 
> change directory to /test/test.
>  at 
> org.netbeans.modules.php.project.connections.ftp.FtpClient.changeWorkingDirectory(FtpClient.java:472)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.cdRemoteDirectory(RemoteClient.java:1200)
>  at 
> org.netbeans.modules.php.project.connections.RemoteClient.cdBaseRemoteDirectory(Remo

[jira] [Created] (NETBEANS-3647) FTP upload stops when uploading to IIS FTP service "550 "

2019-12-29 Thread Oli4 (Jira)
Oli4 created NETBEANS-3647:
--

 Summary: FTP upload stops when uploading to IIS FTP service "550 "
 Key: NETBEANS-3647
 URL: https://issues.apache.org/jira/browse/NETBEANS-3647
 Project: NetBeans
  Issue Type: Bug
  Components: php - FTP Support
Affects Versions: 11.2, 11.1, 11.0
Reporter: Oli4


Hi

when uploading to a Microsoft IIS FTP server there are some cases, when IIS FTP 
server does not conform strictly to RFC 959. For example when uploading to a 
non-existing subfolder Microsoft IIS responds with "550 ", giving the return 
code but omitting the reason.

This throws a MalformedServerReplyException in Netbeans. (Please see the 
complete error log underneath).

I believe, that this behaviour can be optimized by using the function 
[https://commons.apache.org/proper/commons-net/apidocs/org/apache/commons/net/ftp/FTP.html#setStrictReplyParsing(boolean)]
 .

I understand, that this is strictly a Microsoft bug, but hopefully this can be 
updated in Netbeans since I do not see any chance of Microsoft changing this 
bug any time soon.

I would really apreciate it, if this can be "fixed" in the next version.

Thanks and Greetings from Germany

Oli4

 

Full error log:

FINE [org.netbeans.modules.php.project.connections.ftp.FtpClient]: Command 
listener: CWD /test/test
FINE [org.netbeans.modules.php.project.connections.ftp.FtpClient]: Error while 
changing directory /test/test
org.apache.commons.net.MalformedServerReplyException: Truncated server reply: 
'550 '
 at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:374)
 at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:300)
 at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:523)
 at org.apache.commons.net.ftp.FTPSClient.sendCommand(FTPSClient.java:568)
 at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:648)
 at org.apache.commons.net.ftp.FTP.cwd(FTP.java:868)
 at 
org.apache.commons.net.ftp.FTPClient.changeWorkingDirectory(FTPClient.java:1167)
[catch] at 
org.netbeans.modules.php.project.connections.ftp.FtpClient.changeWorkingDirectory(FtpClient.java:468)
 at 
org.netbeans.modules.php.project.connections.RemoteClient.cdRemoteDirectory(RemoteClient.java:1200)
 at 
org.netbeans.modules.php.project.connections.RemoteClient.cdBaseRemoteDirectory(RemoteClient.java:1195)
 at 
org.netbeans.modules.php.project.connections.RemoteClient.uploadFileInternal(RemoteClient.java:382)
 at 
org.netbeans.modules.php.project.connections.RemoteClient.uploadFile(RemoteClient.java:347)
 at 
org.netbeans.modules.php.project.connections.RemoteClient.upload(RemoteClient.java:328)
 at 
org.netbeans.modules.php.project.ui.actions.UploadCommand.upload(UploadCommand.java:150)
 at 
org.netbeans.modules.php.project.ui.actions.UploadCommand.uploadFiles(UploadCommand.java:98)
 at 
org.netbeans.modules.php.project.ui.actions.UploadCommand.invokeActionImpl(UploadCommand.java:82)
 at 
org.netbeans.modules.php.project.ui.actions.UploadCommand$1.run(UploadCommand.java:69)
 at 
org.netbeans.modules.php.project.ui.actions.RemoteCommand$1.run(RemoteCommand.java:84)
 at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
 at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
 at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
 at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
INFO [org.netbeans.modules.php.project.connections.RemoteClient]
org.apache.commons.net.MalformedServerReplyException: Truncated server reply: 
'550 '
 at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:374)
 at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:300)
 at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:523)
 at org.apache.commons.net.ftp.FTPSClient.sendCommand(FTPSClient.java:568)
 at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:648)
 at org.apache.commons.net.ftp.FTP.cwd(FTP.java:868)
 at 
org.apache.commons.net.ftp.FTPClient.changeWorkingDirectory(FTPClient.java:1167)
[catch] at 
org.netbeans.modules.php.project.connections.ftp.FtpClient.changeWorkingDirectory(FtpClient.java:468)
Caused: org.netbeans.modules.php.project.connections.RemoteException: Cannot 
change directory to /test/test.
 at 
org.netbeans.modules.php.project.connections.ftp.FtpClient.changeWorkingDirectory(FtpClient.java:472)
 at 
org.netbeans.modules.php.project.connections.RemoteClient.cdRemoteDirectory(RemoteClient.java:1200)
 at 
org.netbeans.modules.php.project.connections.RemoteClient.cdBaseRemoteDirectory(RemoteClient.java:1195)
 at 
org.netbeans.modules.php.project.connections.RemoteClient.uploadFileInternal(RemoteClient.java:382)
[catch] at 
org.netbeans.modules.php.project.connections.RemoteClient.uploadFile(RemoteClient.java:347)at
 
org.netbeans.modules.php.project.connections.RemoteClient.upload(RemoteClient.java:328)
 at 
org.netbeans.modules.php.project.ui.actions.UploadCommand.upload(UploadCommand.