commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell" <flame...@gmail.com>
Subject Re: [jira] Commented: (NET-61) [net] FTPClient.listFiles() hangs on Red Hat Linux
Date Sat, 23 Dec 2006 00:55:05 GMT
This might be because I spend a lot of my day reading open source
JIRAs/Bugzillas; but it's really nice to tie the svn commit to the
JIRA issue. Technically JIRA is meant to listen to svn commits with
the issue number in, but I've never really bothered with that, rather
I do the following:

* Include the Bugzilla/JIRA number in the svn commit.
* Copy and paste the svn commit lines into the JIRA comment.

See: https://issues.apache.org/jira/browse/LANG-304

Pretty sure someone else here was doing that and I picked the habit up
from them. As I said - as I spend lots of time reading JIRAs etc, it's
a very appreciated habit when people do that and it's actually easier
as a developer - I don't have to comment on what the fix is etc
because that's already in the svn commit message that I'm c+p'ing.

Thought I'd share...

Hen

On 12/22/06, Steve Cohen (JIRA) <jira@apache.org> wrote:
>     [ http://issues.apache.org/jira/browse/NET-61?page=comments#action_12460625 ]
>
> Steve Cohen commented on NET-61:
> --------------------------------
>
> Rory, sorry I've been too busy to be involved here, but could you briefly sum up what
the change was?  I banged my head on this one for quite awhile when it was first logged.
>
> > [net] FTPClient.listFiles() hangs on Red Hat Linux
> > --------------------------------------------------
> >
> >                 Key: NET-61
> >                 URL: http://issues.apache.org/jira/browse/NET-61
> >             Project: Commons Net
> >          Issue Type: Bug
> >    Affects Versions: 1.4 Final
> >         Environment: Operating System: Linux
> > Platform: PC
> >            Reporter: George Van Treeck
> >            Priority: Blocker
> >             Fix For: 2.0
> >
> >
> > A Java app that uses FTPClient to download a file from a website to Windows XP
> > works properly. But, when the same app runs on Linux to download the same file
> > from the same website, it hangs at listFiles().
> > Using Java 1.5.0_03 on both the Windows XP and Linux. The version of Linux
> > used is Fedor Red Hat Linux Core 3 with all the latest updates. The following
> > segment of code from the program demonstrates the problem:
> >               FTPClient ftp = new FTPClient();
> >               ftp.connect(host);
> >               reply = ftp.getReplyCode();
> >               if (!FTPReply.isPositiveCompletion(reply)) {
> >                 final String ftpStatus = ftp.getReplyString();
> >                 ftp.disconnect();
> >                 throw new IOException(
> >                     "FTP server refused connection. Status: " +
> >                    ftpStatus);
> >               }
> >               ftp.login(user, password);
> >               reply = ftp.getReplyCode();
> >               if (!FTPReply.isPositiveCompletion(reply)) {
> >                 final String ftpStatus = ftp.getReplyString();
> >                 ftp.disconnect();
> >                 throw new IOException(
> >                     "FTP server refused username/password. Status: " +
> >                    ftpStatus);
> >               }
> >               String[] list = ftp.listNames();
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message