Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2244

Remote FTP TLS v1.2 issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 10.0
    • None
    • php - FTP Support
    • None

    Description

      Just want to report issue with Remote FTP having issue with TLS v1.2. Also wanted to know how to check TLS version? Is there a way to force it to TLS v1.2, I have check the java controller its been set already to TLS v1.2 but I am not sure if netbeans uses different one.

      Issue occur when shared hosting have upgraded their server to TLS v1.2 ftp will close without indication.

      ID Error log

      INFO [org.netbeans.modules.php.project.connections.transfer.TransferFile]: Error while getting children for LocalTransferFile[name: wp-content, remotePath: wp-content, baseLocalDirectoryPath: /Users/thomas/_WEB/DEV/TncWeb_SANDBOX, baseRemoteDirectoryPath: /sandbox.tncweb.com.au, hasParent: false, isFile: false, isDirectory: true, isLink: false]
       org.apache.commons.net.ftp.FTPConnectionClosedException: Connection closed without indication.
       at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:324)
       at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:300)
       at org.apache.commons.net.ftp.FTP.getReply(FTP.java:732)
       at org.apache.commons.net.ftp.FTPClient.completePendingCommand(FTPClient.java:1853)
       at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:3424)
       at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:3339)
       at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:3016)
       at org.netbeans.modules.php.project.connections.ftp.FtpClient.listFiles(FtpClient.java:400)
       Caused: org.netbeans.modules.php.project.connections.RemoteException: Cannot list files for /sandbox.tncweb.com.au/wp-content.
       at org.netbeans.modules.php.project.connections.ftp.FtpClient.listFiles(FtpClient.java:414)
       at org.netbeans.modules.php.project.connections.RemoteClient.listFiles(RemoteClient.java:238)
       at org.netbeans.modules.php.project.connections.RemoteClient$3.listRemoteFiles(RemoteClient.java:1350)
       [catch] at org.netbeans.modules.php.project.connections.transfer.TransferFile.fetchRemoteChildren(TransferFile.java:588)
       at org.netbeans.modules.php.project.connections.transfer.TransferFile.initRemoteChildren(TransferFile.java:570)
       at org.netbeans.modules.php.project.connections.transfer.TransferFile.getRemoteChildren(TransferFile.java:216)
       at org.netbeans.modules.php.project.connections.RemoteClient.prepareDownload(RemoteClient.java:604)
       at org.netbeans.modules.php.project.connections.RemoteClient.prepareDownload(RemoteClient.java:558)
       at org.netbeans.modules.php.project.ui.actions.DownloadCommand.prepareDownload(DownloadCommand.java:120)
       at org.netbeans.modules.php.project.ui.actions.DownloadCommand.download(DownloadCommand.java:109)
       at org.netbeans.modules.php.project.ui.actions.DownloadCommand.invokeActionImpl(DownloadCommand.java:93)
       at org.netbeans.modules.php.project.ui.actions.DownloadCommand$1.run(DownloadCommand.java:71)
       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)

      Attachments

        Activity

          People

             alexlumpov Alex Lumpov
            tnchuntic Thomas Chuntic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: