commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arno Unkrig (JIRA)" <j...@apache.org>
Subject [jira] Commented: (NET-171) Improve MVSFTPEntryParser.java
Date Wed, 10 Oct 2007 06:44:51 GMT

    [ https://issues.apache.org/jira/browse/NET-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533627
] 

Arno Unkrig commented on NET-171:
---------------------------------

Also, I'd strongly recommend that FTPFile declare an (abstract?) method

    public String getModificationStamp()

, which returns a short string which is guaranteed to remain the same as long as the file
is unmodified and is very probable to change if the file is modified. E.g. on a UNIX system,
the modification stamp could be modification time plus file size; on MVS, it could be modification
date plus modification level.

That would be a portable way to detect file changes on the FTP server.


CU

Arno

> Improve MVSFTPEntryParser.java
> ------------------------------
>
>                 Key: NET-171
>                 URL: https://issues.apache.org/jira/browse/NET-171
>             Project: Commons Net
>          Issue Type: Improvement
>         Environment: MVS FTP server
>            Reporter: Arno Unkrig
>         Attachments: FTPFileLoadlib.java, FTPFilePO.java, FTPFilePOMember.java, MvsFTPUtil.java
>
>
> Hi there,
> the "MVSFTPEntryParser" who parses the output of an FTP LIST of an MVS FTP server, is
a sad view... it's totally broken. I developed a custom FTPEntryParser, which I can hook into
the FtpClient (thank you for the highly customizable design). I'd like to donate it to COMMONS
NET... who can I turn to?
> CU
> Arno Unkrig

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message