This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 269825

Summary: Uploading/Downloiding file from Remote connection Issue
Product: php Reporter: krupalichavda
Component: FTP SupportAssignee: issues@php <issues>
Status: RESOLVED WORKSFORME    
Severity: normal CC: tmysik
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 10   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 269963    
Bug Blocks:    
Attachments: IDE log

Description krupalichavda 2017-02-14 15:48:54 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_60
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.60-b23

Reproducibility: Happens every time

STEPS:
 Right Click any project
Click on Properties
Click on run Configuration
Change "Run As" to "Remote Website"
Click on "Manage" in "Remote Connection" Section
Added Host, Port, Select "Explicit FTP using TLS"
Inserted username and password
Click on "Test Connection"
Message appears "Connection Succeds"

But when I try to download file by right clicking file - It come back with error "Can not download file - Unknown Reason"

Please help.
Comment 1 krupalichavda 2017-02-14 15:48:59 UTC
Created attachment 163631 [details]
IDE log
Comment 2 Tomas Mysik 2017-03-28 06:23:41 UTC
Does it happen for more servers or for just a specific one? I can see several related errors in the attached log - does your server support encryption?

Errors:
org.apache.commons.net.ftp.FTPConnectionClosedException: Connection closed without indication.
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
org.apache.commons.net.ftp.FTPConnectionClosedException: FTP response 421 received.  Server closed connection.

Perhaps try to use some other FTP client to verify that it works as expected.

Thanks for reporting.