commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jürgen Jung (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (NET-436) Support for SYST "Mac OS" listing
Date Wed, 04 Jan 2012 14:45:39 GMT

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

Jürgen Jung commented on NET-436:
---------------------------------

{quote}What happens when you try using FTPClient?{quote}
{noformat}
220-Welcome To Rumpus!
220 Service ready for new user
Connected to localhost on 21
USER *******
331 Password required
PASS *******
230 User logged in
SYST
215 MACOS Peter's Server
Remote system is MACOS Peter's Server
Exception in thread "main" org.apache.commons.net.ftp.parser.ParserInitializationException:
Unknown parser type: MACOS Peter's Server
	at org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:160)
	at org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:93)
	at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2959)
	at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2623)
	at examples.ftp.FTPClientExample.main(FTPClientExample.java:299)
{noformat}

With: -Dorg.apache.commons.net.ftp.systemType=UNIX
# All directories are missing
# files are listed as described
{noformat}
20-Welcome To Rumpus!
220 Service ready for new user
Connected to localhost on 21
USER *******
331 Password required
PASS *******
230 User logged in
SYST
215 MACOS Peter's Server
Remote system is MACOS Peter's Server
PASV
227 Entering Passive Mode (172,30,201,94,11,186)
[Replacing site local address 172.30.201.94 with 127.0.0.1]
LIST
150 Opening connection
226 Transfer complete
-rw-r--r--    54149       27826    81975 Jul 22  2010 09.jpg
-rw-r--r-- 54149 null     27826       81975 2010-07-22 00:00:00 MESZ  09.jpg
-rw-r--r--    78440       49231   127671 Jul 22  2010 Filename with whitespace.jpg
-rw-r--r-- 78440 null     49231      127671 2010-07-22 00:00:00 MESZ  Filename with whitespace.jpg
-rw-r--r--        0      108767   108767 Jul 22  2010 presentation03.jpg
-rw-r--r--    0 null     108767     108767 2010-07-22 00:00:00 MESZ  presentation03.jpg
-rw-r--r--    58679       60393   119072 Jul 22  2010 presentation04.jpg
-rw-r--r-- 58679 null     60393      119072 2010-07-22 00:00:00 MESZ  presentation04.jpg
-rw-r--r--    82543       51433   133976 Jul 22  2010 presentation06.jpg
-rw-r--r-- 82543 null     51433      133976 2010-07-22 00:00:00 MESZ  presentation06.jpg
-rw-r--r--    83616     1430976  1514592 Jul 22  2010 presentation10.jpg
-rw-r--r-- 83616 null     1430976   1514592 2010-07-22 00:00:00 MESZ  presentation10.jpg
-rw-r--r--        0       66990    66990 Jul 22  2010 presentation11.jpg
-rw-r--r--    0 null     66990       66990 2010-07-22 00:00:00 MESZ  presentation11.jpg
-rwx------        0       12713    12713 Jul  8  2009 Twitter_Avatar.png
-rwx------    0 null     12713       12713 2009-07-08 00:00:00 MESZ  Twitter_Avatar.png
NOOP
200 This space intentionally left blank <   >
QUIT
221-Goodbye From Rumpus!
221 Goodbye - service closing connection
{noformat}

                
> Support for SYST "Mac OS"  listing
> ----------------------------------
>
>                 Key: NET-436
>                 URL: https://issues.apache.org/jira/browse/NET-436
>             Project: Commons Net
>          Issue Type: New Feature
>          Components: FTP
>    Affects Versions: 3.0.1
>         Environment: Mac OS X Rumpus FTP Sevrer
>            Reporter: Jürgen Jung
>
> The Rumpus ftp server acts as an "old" pre mac os x ftp server.
> There are any plans do integrate a Mac OS filelist parsing into the commons net project?
> http://cyberduck.ch/ implemnets his own Rumpus parser, 
> but it will be great if commons net already support this kind of listing.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message