commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NET-567) commons-net-3.0.1.jar not listing file from solaris FTP server
Date Thu, 12 Feb 2015 20:14:11 GMT

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

Sebb commented on NET-567:
--------------------------

What is the code that you are using?

Have you tried using the example FTP Client?
Ensure you have commons-net-3.3-examples.jar and commons-net-3.3.jar in the current directory.
Then issue the following command:

{code}
# anonymous login:
java -jar commons-net-3.3-examples.jar FTPClientExample -A -l <hostname> [path]
or
java -jar commons-net-3.3-examples.jar FTPClientExample -l <hostname> <username>
<password> [path]
{code}

For example (using one of the ASF ftp mirror servers)

{code}
java -jar commons-net-3.3-examples.jar FTPClientExample -A -l ftp.meisei-u.ac.jp mirror/apache/dist/commons/net/
{code}

I get the following output:

{noformat}
220 alice.hino.meisei-u.ac.jp FTP server (Version 6.00LS) ready.
Connected to ftp.meisei-u.ac.jp on 21
USER *******
331 Guest login ok, send your email address as password.
PASS *******
230 Guest login ok, access restrictions apply.
SYST
215 UNIX Type: L8 Version: BSD-199506
Remote system is UNIX Type: L8 Version: BSD-199506
TYPE A
200 Type set to A.
PASV
227 Entering Passive Mode ...
LIST mirror/apache/dist/commons/net/binaries
150 Opening ASCII mode data connection for '/bin/ls'.
226 Transfer complete.
lrwxrwxrwx  1 9997  9997       14 Dec 30 15:32 HEADER.html -> ../HEADER.html
lrwxrwxrwx    1 9997     9997           14 2014-12-30 15:32:00 GMT  HEADER.html
lrwxrwxrwx  1 9997  9997       14 Dec 30 15:32 README.html -> ../README.html
lrwxrwxrwx    1 9997     9997           14 2014-12-30 15:32:00 GMT  README.html
-rw-rw-r--  1 9997  9997   614579 Mar  4  2013 commons-net-1.4.1.tar.gz
-rw-rw-r--    1 9997     9997       614579 2013-03-04 00:00:00 GMT  commons-net-1.4.1.tar.gz
-rw-rw-r--  1 9997  9997  1187615 Mar  4  2013 commons-net-1.4.1.zip
-rw-rw-r--    1 9997     9997      1187615 2013-03-04 00:00:00 GMT  commons-net-1.4.1.zip
-rw-rw-r--  1 9997  9997  1895074 Jun 12  2013 commons-net-3.3-bin.tar.gz
-rw-rw-r--    1 9997     9997      1895074 2013-06-12 00:00:00 BST  commons-net-3.3-bin.tar.gz
-rw-rw-r--  1 9997  9997  2810258 Jun 12  2013 commons-net-3.3-bin.zip
-rw-rw-r--    1 9997     9997      2810258 2013-06-12 00:00:00 BST  commons-net-3.3-bin.zip
NOOP
200 NOOP command successful.
QUIT
221 Goodbye.
{noformat}

These commands should list the files.
If not please update this issue with the results.


> commons-net-3.0.1.jar not listing file from solaris FTP server
> --------------------------------------------------------------
>
>                 Key: NET-567
>                 URL: https://issues.apache.org/jira/browse/NET-567
>             Project: Commons Net
>          Issue Type: Bug
>          Components: FTP
>    Affects Versions: 3.0.1
>         Environment: Linux server
> Solaris(Japanese lang) FTP server 
>            Reporter: Kaif Akbar
>              Labels: features
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When using commons-net-3.0.1.jar file on Linux server to list the files from Solaris10(Japanese
Language) server then it is not listing files whereas when using commons-net-2.0.jar to list
the files then it is listing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message