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 157834 - FTP connection reset errors
Summary: FTP connection reset errors
Status: RESOLVED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: RemoteFS (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: eCommando
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-03 11:25 UTC by dellbridge
Modified: 2009-12-15 10:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
See comment. (19.75 KB, patch)
2009-12-13 01:08 UTC, eCommando
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description dellbridge 2009-02-03 11:25:31 UTC
Using Netbeans 6.5 with PHP support only, I am having problems using ftp. Uploads generally work but most of the time
will display a prompt stating the follwing:

FTP Error

Cannot logout from server <IP#>

Reason: Connection Reset

Downloads also present this error but, unlike uploads, always fail as a result.

I've tried enabling anonymous access but this hasn't made any difference. We're using Filezilla FTP Server v0.9.3 (The
most recent version available).
Comment 1 dellbridge 2009-02-13 10:42:46 UTC
This is also occurring in Netbeans 7.0M1
Comment 2 eCommando 2009-12-13 01:08:04 UTC
Created attachment 92471 [details]
See comment.

This bug is caused by FTP clients and Netbeans to frequently get into a timing state that causes Netbeans to throw an error when the FTP server simply disconnects before Netbeans can logout.

The FTP server, in this case, is correct, and Netbeans should be more forgiving.

This change allows configuration of a connection to ignore this error should it occur, and allow upload-on-save to function as it was intended.
Comment 3 eCommando 2009-12-15 10:20:39 UTC
I have tested this fix in my dev-release build alongside my 6.8 public RC, and it appears to work without issue in my dev-release build while it continues to throw the error in the RC. I believe the patch works as expected.