You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Jürgen Jung (Created JIRA)" <ji...@apache.org> on 2012/01/04 11:53:38 UTC

[jira] [Created] (NET-436) Support for SYST "Mac OS" listing

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

       

[jira] [Commented] (NET-436) Support for SYST "Mac OS" listing

Posted by "Sebb (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179476#comment-13179476 ] 

Sebb commented on NET-436:
--------------------------

bq. The Rumpus Server is available at http://www.maxum.com/Rumpus/

However that requires installation on MacOs.

Is there a public server running Rumpus?
                
> 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

       

[jira] [Commented] (NET-436) Support for SYST "Mac OS" listing

Posted by "Jürgen Jung (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180415#comment-13180415 ] 

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

Great!
Thanks a lot.
                
> 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
>             Fix For: 3.1
>
>
> 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

       

[jira] [Commented] (NET-436) Support for SYST "Mac OS" listing

Posted by "Jürgen Jung (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179477#comment-13179477 ] 

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

I don't know public rumpus server. :-/
                
> 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

       

[jira] [Commented] (NET-436) Support for SYST "Mac OS" listing

Posted by "Sebb (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179810#comment-13179810 ] 

Sebb commented on NET-436:
--------------------------

OK, good, so if we check for MACOS Peter, we should be safe in assuming the "old" format.

By the way, the Rumpus FAQ quotes the SYST response as

Mac OS Peter's Server (heading, once)
MacOS Peter's Server (body, multiple times)

However, the actual response you quote is

215 MACOS Peter's Server

                
> 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

       

[jira] [Commented] (NET-436) Support for SYST "Mac OS" listing

Posted by "Sebb (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180403#comment-13180403 ] 

Sebb commented on NET-436:
--------------------------

bq. Transmit shows the correct umlaut

That's presumably because Transmit sends the correct OPTS.

bq. That works for rumpus and standard system ftp service:

So is the umlaut issue resolved?
                
> 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

       

[jira] [Issue Comment Edited] (NET-436) Support for SYST "Mac OS" listing

Posted by "Jürgen Jung (Issue Comment Edited JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180354#comment-13180354 ] 

Jürgen Jung edited comment on NET-436 at 1/5/12 1:10 PM:
---------------------------------------------------------

Transmit shows the correct umlaut

That works for rumpus and standard system ftp service:
{noformat}
ftpClient.setControlEncoding("UTF8");
...
ftpClient.login...
ftpClient.doCommand("OPTS","UTF8 ON");
{noformat}


                
      was (Author: jjg):
    Transmit shows the correct umlaut
                  
> 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

       

[jira] [Commented] (NET-436) Support for SYST "Mac OS" listing

Posted by "Jürgen Jung (Commented JIRA)" <ji...@apache.org>.
    [ 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

       

[jira] [Commented] (NET-436) Support for SYST "Mac OS" listing

Posted by "Sebb (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179515#comment-13179515 ] 

Sebb commented on NET-436:
--------------------------

What happens when you try using FTPClient?

For example:

{quote}
java -cp commons-net-examples-3.0.1.jar;commons-net-3.0.1.jar examples/ftp/FTPClientExample -l host user pass
{quote}

should list the directory contents; each file is listed twice, in raw and parsed versions, e.g.

{quote}
drwxr-xr-x    1 ukms     ukms         1024 Jan  4 00:00 indexes
drwxr-xr-x    1 ukms     ukms         1024 2012-01-04 00:00:00 GMT  indexes
{quote}

You can override the autodetection by using (for example):

-Dorg.apache.commons.net.ftp.systemType=UNIX

the value should be one of the FTPClientConfig constants (or a parser implementation).

                
> 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

       

[jira] [Commented] (NET-436) Support for SYST "Mac OS" listing

Posted by "Jürgen Jung (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179492#comment-13179492 ] 

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

Standard login and listing of Rumpus FTP Server
{noformat} 
Cmd: USER test
331: Password required
Cmd: PASS xxxxxxxx
230: User logged in
Cmd: TYPE A
200: Type set to A (ASCII)
Logged in to localhost as test.
Cmd: SYST
215: MACOS Peter's Server
Cmd: FEAT
211: Extensions supported:
      SIZE
      REST STREAM
      APPE
      MDTM
      MACB
      PBSZ
      PROT
      EPSV
      UTF8
     End
Cmd: OPTS UTF8 ON
220: UTF8 OPTS ON
Cmd: PWD
257: "/" is current directory.
Cmd: PASV
227: Entering Passive Mode (172,30,201,94,11,185)
Fixing bogus PASV data address from 172.30.201.94:3001 to 127.0.0.1:3001.
Cmd: LIST
150: Opening connection
226: Transfer complete
-rw-r--r--    54149       27826    81975 Jul 22  2010 09.jpg
drwxr-xr-x               folder        0 Jan  4 14:51 Alias_to_Steak
-rw-r--r--    78440       49231   127671 Jul 22  2010 Filename with whitespace.jpg
-rw-r--r--        0      108767   108767 Jul 22  2010 presentation03.jpg
-rw-r--r--    58679       60393   119072 Jul 22  2010 presentation04.jpg
-rw-r--r--    82543       51433   133976 Jul 22  2010 presentation06.jpg
-rw-r--r--    83616     1430976  1514592 Jul 22  2010 presentation10.jpg
-rw-r--r--        0       66990    66990 Jul 22  2010 presentation11.jpg
drwxr-xr-x               folder        0 Jan  4 14:49 Steak
-rwx------        0       12713    12713 Jul  8  2009 Twitter_Avatar.png
{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

       

[jira] [Commented] (NET-436) Support for SYST "Mac OS" listing

Posted by "Sebb (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180313#comment-13180313 ] 

Sebb commented on NET-436:
--------------------------

Are you saying that Net works with umlauts on your Mac when using the default ftp server and Unix parser, but does not work with Rumpus and the MacOsPeter parser? 

What happens with the Transmit client and Rumpus?

Also, try using:

{code}
ftpClient.setControlEncoding("UTF8");
...
ftpClient.login...
ftpClient.doCommand("OPTS","UTF8 ON");
{code}

                
> 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

       

[jira] [Commented] (NET-436) Support for SYST "Mac OS" listing

Posted by "Sebb (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179536#comment-13179536 ] 

Sebb commented on NET-436:
--------------------------

@Jurgen OK, thanks for the listing.

What do rssz and dtsz represent? 
They appear to add up to size, so perhaps they are the resource fork size and data size?

@David Thanks, will look at incorporating that.
                
> 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

       

[jira] [Issue Comment Edited] (NET-436) Support for SYST "Mac OS" listing

Posted by "Jürgen Jung (Issue Comment Edited JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180406#comment-13180406 ] 

Jürgen Jung edited comment on NET-436 at 1/5/12 2:06 PM:
---------------------------------------------------------

Yes when i send  OPTS 
and use setControlEncoding 
the issue is resolved
                
      was (Author: jjg):
    Yes with OPTS and ControlEncoding the issue is resolved
                  
> 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

       

[jira] [Commented] (NET-436) Support for SYST "Mac OS" listing

Posted by "Jürgen Jung (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180406#comment-13180406 ] 

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

Yes with OPTS and ControlEncoding the issue is resolved
                
> 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

       

[jira] [Commented] (NET-436) Support for SYST "Mac OS" listing

Posted by "Jürgen Jung (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179463#comment-13179463 ] 

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

The Rumpus Server is available at http://www.maxum.com/Rumpus/

The Standard SYST response is: "Mac OS Peter's Server"
The [FAQ|http://www.maxum.com/Rumpus/FAQ-FTP.html] describes why they use this response.

I will attach an example listing this afternoon.
                
> 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

       

[jira] [Commented] (NET-436) Support for SYST "Mac OS" listing

Posted by "Jürgen Jung (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179740#comment-13179740 ] 

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

If i enable the ftp server on my System (Mac OS X 10.7)

SYST response is: 
{noformat}215 UNIX Type: L8 Version: tnftpd 20100324+GSSAPI{noformat}

It acts like a _normal_ Unix ftp server.
                
> 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

       

[jira] [Commented] (NET-436) Support for SYST "Mac OS" listing

Posted by "Sebb (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179457#comment-13179457 ] 

Sebb commented on NET-436:
--------------------------

If you can provide some sample listings - or, better, access to a server that runs Rumpus - then we can look at providing a parser if necessary.

We also need the output from the SYST command, which is used to auto-detect the server type.
                
> 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

       

[jira] [Issue Comment Edited] (NET-436) Support for SYST "Mac OS" listing

Posted by "Jürgen Jung (Issue Comment Edited JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180415#comment-13180415 ] 

Jürgen Jung edited comment on NET-436 at 1/5/12 2:16 PM:
---------------------------------------------------------

Great!
Thanks a lot!
                
      was (Author: jjg):
    Great!
Thanks a lot.
                  
> 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
>             Fix For: 3.1
>
>
> 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

       

[jira] [Issue Comment Edited] (NET-436) Support for SYST "Mac OS" listing

Posted by "Jürgen Jung (Issue Comment Edited JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179492#comment-13179492 ] 

Jürgen Jung edited comment on NET-436 at 1/4/12 2:06 PM:
---------------------------------------------------------

Standard login and listing of Rumpus FTP Server

Server is installed on my local machine, ftp client is Transmit.

{noformat} 
Cmd: USER test
331: Password required
Cmd: PASS xxxxxxxx
230: User logged in
Cmd: TYPE A
200: Type set to A (ASCII)
Logged in to localhost as test.
Cmd: SYST
215: MACOS Peter's Server
Cmd: FEAT
211: Extensions supported:
      SIZE
      REST STREAM
      APPE
      MDTM
      MACB
      PBSZ
      PROT
      EPSV
      UTF8
     End
Cmd: OPTS UTF8 ON
220: UTF8 OPTS ON
Cmd: PWD
257: "/" is current directory.
Cmd: PASV
227: Entering Passive Mode (172,30,201,94,11,185)
Fixing bogus PASV data address from 172.30.201.94:3001 to 127.0.0.1:3001.
Cmd: LIST
150: Opening connection
226: Transfer complete
-rw-r--r--    54149       27826    81975 Jul 22  2010 09.jpg
drwxr-xr-x               folder        0 Jan  4 14:51 Alias_to_Steak
-rw-r--r--    78440       49231   127671 Jul 22  2010 Filename with whitespace.jpg
-rw-r--r--        0      108767   108767 Jul 22  2010 presentation03.jpg
-rw-r--r--    58679       60393   119072 Jul 22  2010 presentation04.jpg
-rw-r--r--    82543       51433   133976 Jul 22  2010 presentation06.jpg
-rw-r--r--    83616     1430976  1514592 Jul 22  2010 presentation10.jpg
-rw-r--r--        0       66990    66990 Jul 22  2010 presentation11.jpg
drwxr-xr-x               folder        0 Jan  4 14:49 Steak
-rwx------        0       12713    12713 Jul  8  2009 Twitter_Avatar.png
{noformat} 

Rumpus listing configuration is:
|For fiels:|{noformat}<mode> <rssz:8> <dtsz:11> <size:8> <date> <name>{noformat}|
|For Folders:|{noformat}<mode>               folder        0 <date> <name>{noformat}|
                
      was (Author: jjg):
    Standard login and listing of Rumpus FTP Server

Server is installed on my local machine, ftp client is Transmit.

{noformat} 
Cmd: USER test
331: Password required
Cmd: PASS xxxxxxxx
230: User logged in
Cmd: TYPE A
200: Type set to A (ASCII)
Logged in to localhost as test.
Cmd: SYST
215: MACOS Peter's Server
Cmd: FEAT
211: Extensions supported:
      SIZE
      REST STREAM
      APPE
      MDTM
      MACB
      PBSZ
      PROT
      EPSV
      UTF8
     End
Cmd: OPTS UTF8 ON
220: UTF8 OPTS ON
Cmd: PWD
257: "/" is current directory.
Cmd: PASV
227: Entering Passive Mode (172,30,201,94,11,185)
Fixing bogus PASV data address from 172.30.201.94:3001 to 127.0.0.1:3001.
Cmd: LIST
150: Opening connection
226: Transfer complete
-rw-r--r--    54149       27826    81975 Jul 22  2010 09.jpg
drwxr-xr-x               folder        0 Jan  4 14:51 Alias_to_Steak
-rw-r--r--    78440       49231   127671 Jul 22  2010 Filename with whitespace.jpg
-rw-r--r--        0      108767   108767 Jul 22  2010 presentation03.jpg
-rw-r--r--    58679       60393   119072 Jul 22  2010 presentation04.jpg
-rw-r--r--    82543       51433   133976 Jul 22  2010 presentation06.jpg
-rw-r--r--    83616     1430976  1514592 Jul 22  2010 presentation10.jpg
-rw-r--r--        0       66990    66990 Jul 22  2010 presentation11.jpg
drwxr-xr-x               folder        0 Jan  4 14:49 Steak
-rwx------        0       12713    12713 Jul  8  2009 Twitter_Avatar.png
{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

       

[jira] [Commented] (NET-436) Support for SYST "Mac OS" listing

Posted by "David Kocher (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179513#comment-13179513 ] 

David Kocher commented on NET-436:
----------------------------------

You are welcome to copy http://svn.cyberduck.ch/trunk/source/ch/cyberduck/core/ftp/parser/RumpusFTPEntryParser.java
                
> 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

       

[jira] [Commented] (NET-436) Support for SYST "Mac OS" listing

Posted by "Jürgen Jung (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180246#comment-13180246 ] 

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

Listing looks good except Encoding Problems on f***ing german umlauts.

Expected listing:
{noformat}-rw-r--r--    58679       60393   119072 Jul 22  2010 Präˆsentation.jpg{noformat}

Example listing with auto detect encoding:
{noformat}-rw-r--r--    58679       60393   119072 Jul 22  2010 Präsentation.jpg{noformat}

Example with {{ftpClient.setControlEncoding("MacRoman");}}:
{noformat}-rw-r--r--    58679       60393   119072 Jul 22  2010 PraÃàsentation.jpg{noformat}

Example with {{ftpClient.setControlEncoding("MacRoman");}} and string encoding {{new String(file.getRawListing().getBytes("MacRoman"),"UTF-8")}}:
Works as expected:
{noformat}-rw-r--r--    58679       60393   119072 Jul 22  2010 Präsentation.jpg{noformat}


Example Client:
{code:java}
public static void main(String[] args) throws Exception {
        FTPClient ftpClient = new FTPClient();
        ftpClient.setControlEncoding("MacRoman");
        ftpClient.connect("172.30.201.94");
        ftpClient.login("test", "test");

        FTPFile[] files = ftpClient.listFiles();
        for (FTPFile file : files) {
            System.out.println(new String(file.getRawListing().getBytes("MacRoman"),"UTF-8"));
            System.out.println(file.getRawListing());
        }
        ftpClient.disconnect();
}
{code} 
                
> 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

       

[jira] [Commented] (NET-436) Support for SYST "Mac OS" listing

Posted by "Jürgen Jung (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179539#comment-13179539 ] 

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

{quote}
What do rssz and dtsz represent? 
They appear to add up to size, so perhaps they are the resource fork size and data size?
{quote}
Correct:
* rssz is the resource fork size
* dtsz is the data size
                
> 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

       

[jira] [Issue Comment Edited] (NET-436) Support for SYST "Mac OS" listing

Posted by "Jürgen Jung (Issue Comment Edited JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179492#comment-13179492 ] 

Jürgen Jung edited comment on NET-436 at 1/4/12 2:01 PM:
---------------------------------------------------------

Standard login and listing of Rumpus FTP Server

Server is installed on my local machine, ftp client is Transmit.

{noformat} 
Cmd: USER test
331: Password required
Cmd: PASS xxxxxxxx
230: User logged in
Cmd: TYPE A
200: Type set to A (ASCII)
Logged in to localhost as test.
Cmd: SYST
215: MACOS Peter's Server
Cmd: FEAT
211: Extensions supported:
      SIZE
      REST STREAM
      APPE
      MDTM
      MACB
      PBSZ
      PROT
      EPSV
      UTF8
     End
Cmd: OPTS UTF8 ON
220: UTF8 OPTS ON
Cmd: PWD
257: "/" is current directory.
Cmd: PASV
227: Entering Passive Mode (172,30,201,94,11,185)
Fixing bogus PASV data address from 172.30.201.94:3001 to 127.0.0.1:3001.
Cmd: LIST
150: Opening connection
226: Transfer complete
-rw-r--r--    54149       27826    81975 Jul 22  2010 09.jpg
drwxr-xr-x               folder        0 Jan  4 14:51 Alias_to_Steak
-rw-r--r--    78440       49231   127671 Jul 22  2010 Filename with whitespace.jpg
-rw-r--r--        0      108767   108767 Jul 22  2010 presentation03.jpg
-rw-r--r--    58679       60393   119072 Jul 22  2010 presentation04.jpg
-rw-r--r--    82543       51433   133976 Jul 22  2010 presentation06.jpg
-rw-r--r--    83616     1430976  1514592 Jul 22  2010 presentation10.jpg
-rw-r--r--        0       66990    66990 Jul 22  2010 presentation11.jpg
drwxr-xr-x               folder        0 Jan  4 14:49 Steak
-rwx------        0       12713    12713 Jul  8  2009 Twitter_Avatar.png
{noformat} 
                
      was (Author: jjg):
    Standard login and listing of Rumpus FTP Server
{noformat} 
Cmd: USER test
331: Password required
Cmd: PASS xxxxxxxx
230: User logged in
Cmd: TYPE A
200: Type set to A (ASCII)
Logged in to localhost as test.
Cmd: SYST
215: MACOS Peter's Server
Cmd: FEAT
211: Extensions supported:
      SIZE
      REST STREAM
      APPE
      MDTM
      MACB
      PBSZ
      PROT
      EPSV
      UTF8
     End
Cmd: OPTS UTF8 ON
220: UTF8 OPTS ON
Cmd: PWD
257: "/" is current directory.
Cmd: PASV
227: Entering Passive Mode (172,30,201,94,11,185)
Fixing bogus PASV data address from 172.30.201.94:3001 to 127.0.0.1:3001.
Cmd: LIST
150: Opening connection
226: Transfer complete
-rw-r--r--    54149       27826    81975 Jul 22  2010 09.jpg
drwxr-xr-x               folder        0 Jan  4 14:51 Alias_to_Steak
-rw-r--r--    78440       49231   127671 Jul 22  2010 Filename with whitespace.jpg
-rw-r--r--        0      108767   108767 Jul 22  2010 presentation03.jpg
-rw-r--r--    58679       60393   119072 Jul 22  2010 presentation04.jpg
-rw-r--r--    82543       51433   133976 Jul 22  2010 presentation06.jpg
-rw-r--r--    83616     1430976  1514592 Jul 22  2010 presentation10.jpg
-rw-r--r--        0       66990    66990 Jul 22  2010 presentation11.jpg
drwxr-xr-x               folder        0 Jan  4 14:49 Steak
-rwx------        0       12713    12713 Jul  8  2009 Twitter_Avatar.png
{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

       

[jira] [Resolved] (NET-436) Support for SYST "Mac OS" listing

Posted by "Sebb (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb resolved NET-436.
----------------------

       Resolution: Fixed
    Fix Version/s: 3.1

MacOS listing support now complete.

Auto-detection of FTP server encoding might be worth raising as a separate enhancement issue; it probably applies to FTP servers on other systems as well.
                
> 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
>             Fix For: 3.1
>
>
> 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

       

[jira] [Issue Comment Edited] (NET-436) Support for SYST "Mac OS" listing

Posted by "Jürgen Jung (Issue Comment Edited JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179492#comment-13179492 ] 

Jürgen Jung edited comment on NET-436 at 1/4/12 2:06 PM:
---------------------------------------------------------

Standard login and listing of Rumpus FTP Server

Server is installed on my local machine, ftp client is Transmit.

{noformat} 
Cmd: USER test
331: Password required
Cmd: PASS xxxxxxxx
230: User logged in
Cmd: TYPE A
200: Type set to A (ASCII)
Logged in to localhost as test.
Cmd: SYST
215: MACOS Peter's Server
Cmd: FEAT
211: Extensions supported:
      SIZE
      REST STREAM
      APPE
      MDTM
      MACB
      PBSZ
      PROT
      EPSV
      UTF8
     End
Cmd: OPTS UTF8 ON
220: UTF8 OPTS ON
Cmd: PWD
257: "/" is current directory.
Cmd: PASV
227: Entering Passive Mode (172,30,201,94,11,185)
Fixing bogus PASV data address from 172.30.201.94:3001 to 127.0.0.1:3001.
Cmd: LIST
150: Opening connection
226: Transfer complete
-rw-r--r--    54149       27826    81975 Jul 22  2010 09.jpg
drwxr-xr-x               folder        0 Jan  4 14:51 Alias_to_Steak
-rw-r--r--    78440       49231   127671 Jul 22  2010 Filename with whitespace.jpg
-rw-r--r--        0      108767   108767 Jul 22  2010 presentation03.jpg
-rw-r--r--    58679       60393   119072 Jul 22  2010 presentation04.jpg
-rw-r--r--    82543       51433   133976 Jul 22  2010 presentation06.jpg
-rw-r--r--    83616     1430976  1514592 Jul 22  2010 presentation10.jpg
-rw-r--r--        0       66990    66990 Jul 22  2010 presentation11.jpg
drwxr-xr-x               folder        0 Jan  4 14:49 Steak
-rwx------        0       12713    12713 Jul  8  2009 Twitter_Avatar.png
{noformat} 

Rumpus listing configuration is:
|For files:|{noformat}<mode> <rssz:8> <dtsz:11> <size:8> <date> <name>{noformat}|
|For folders:|{noformat}<mode>               folder        0 <date> <name>{noformat}|
                
      was (Author: jjg):
    Standard login and listing of Rumpus FTP Server

Server is installed on my local machine, ftp client is Transmit.

{noformat} 
Cmd: USER test
331: Password required
Cmd: PASS xxxxxxxx
230: User logged in
Cmd: TYPE A
200: Type set to A (ASCII)
Logged in to localhost as test.
Cmd: SYST
215: MACOS Peter's Server
Cmd: FEAT
211: Extensions supported:
      SIZE
      REST STREAM
      APPE
      MDTM
      MACB
      PBSZ
      PROT
      EPSV
      UTF8
     End
Cmd: OPTS UTF8 ON
220: UTF8 OPTS ON
Cmd: PWD
257: "/" is current directory.
Cmd: PASV
227: Entering Passive Mode (172,30,201,94,11,185)
Fixing bogus PASV data address from 172.30.201.94:3001 to 127.0.0.1:3001.
Cmd: LIST
150: Opening connection
226: Transfer complete
-rw-r--r--    54149       27826    81975 Jul 22  2010 09.jpg
drwxr-xr-x               folder        0 Jan  4 14:51 Alias_to_Steak
-rw-r--r--    78440       49231   127671 Jul 22  2010 Filename with whitespace.jpg
-rw-r--r--        0      108767   108767 Jul 22  2010 presentation03.jpg
-rw-r--r--    58679       60393   119072 Jul 22  2010 presentation04.jpg
-rw-r--r--    82543       51433   133976 Jul 22  2010 presentation06.jpg
-rw-r--r--    83616     1430976  1514592 Jul 22  2010 presentation10.jpg
-rw-r--r--        0       66990    66990 Jul 22  2010 presentation11.jpg
drwxr-xr-x               folder        0 Jan  4 14:49 Steak
-rwx------        0       12713    12713 Jul  8  2009 Twitter_Avatar.png
{noformat} 

Rumpus listing configuration is:
|For fiels:|{noformat}<mode> <rssz:8> <dtsz:11> <size:8> <date> <name>{noformat}|
|For Folders:|{noformat}<mode>               folder        0 <date> <name>{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

       

[jira] [Commented] (NET-436) Support for SYST "Mac OS" listing

Posted by "Jürgen Jung (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180354#comment-13180354 ] 

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

Transmit shows the correct umlaut
                
> 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

       

[jira] [Commented] (NET-436) Support for SYST "Mac OS" listing

Posted by "Jürgen Jung (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179833#comment-13179833 ] 

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

Sounds good!
                
> 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

       

[jira] [Commented] (NET-436) Support for SYST "Mac OS" listing

Posted by "Sebb (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179648#comment-13179648 ] 

Sebb commented on NET-436:
--------------------------

bq. The Rumpus ftp server acts as an "old" pre mac os x ftp server.

Does this mean that current Mac OS-X ftp servers act differently?
If so, do they use a different SYST response?
                
> 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

       

[jira] [Commented] (NET-436) Support for SYST "Mac OS" listing

Posted by "Sebb (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NET-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180074#comment-13180074 ] 

Sebb commented on NET-436:
--------------------------

Fix added; perhaps you can try out the latest snapshot from https://repository.apache.org/content/repositories/snapshots/ ?
                
> 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