Ticket #33 (new defect)

Opened 5 years ago

Last modified 4 years ago

Metabug - FTP compatibility issues

Reported by: maxence@… Owned by: maxence@…
Priority: high Milestone:
Component: Filesystem > FTP Version: 0.8.4
Severity: major Keywords:
Cc: Operating System: unspecified
Java version: unspecified

Description (last modified by maxence) (diff)

There have been several reports in the forums of FTP connections failing to establish on certain types of FTP servers. This 'metabug' bug groups these similar issues into one.

Here's a list of some of the most recent reports:
-  http://www.mucommander.com/forums/viewtopic.php?f=4&t=714
-  http://www.mucommander.com/forums/viewtopic.php?f=4&t=697
-  http://www.mucommander.com/forums/viewtopic.php?f=4&t=559

These issues lie in the underlying FTP library used by muCommander, Apache Commons-Net.

As a first step, I have updated the Commons-Net library to the latest version (1.5.0 svn snapshot) which fixes several bugs, among which one that could explain (and fix) some of the problems reported in muCommander :
 http://issues.apache.org/jira/browse/NET-188

If you are experiencing similar problems, please file a new bug and provide details about the type and version of the FTP server you are connecting to. If you are a developer, you can also help by pinpointing the issue in the particular FTPFileEntryParser implementation of the Commons-Net library.

Commons-net development seems to be rather active these days so I'll keep a close eye on any further updates. I'll also give the edtFTPj library a try to see if it works any better (  http://www.enterprisedt.com/products/edtftpj/ ).

Change History

Changed 5 years ago by maxence@…

Commons-Net has just been updated to the current SVN snapshot (June 2nd, 2008), which contains a few additional bug fixes over the previous snapshot.

Changed 5 years ago by maxence@…

The next step is to add support for the optional MLST / MLSD commands. On FTP servers with MLST/MSLD support, this will:
+ improve compatibility (the output of these commands is not system dependent)
+ improve performance (MLST allows to retrieve individual file attributes, vs. having to LIST the parent folder to get a file's attributes)
- drawback: full Unix permissions, owner and group may not always be available => because of this, we'll have to make MLST/MLSD a user option.

Changed 4 years ago by sclebo05@…

  • blocked set to 121

Changed 4 years ago by maxence@…

A 2.0 version of the commons-net library has been released but it requires Java 1.5. We'll upgrade the commons-net when we drop support for Java 1.4, which may/should happen rather sooner than later.

Changed 4 years ago by maxence

  • description modified (diff)

Upgraded the Commons-net FTP library to version 2.0 in r3503, now that Java 1.5 is required to run muCommander.

Note: See TracTickets for help on using tickets.