You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "xiangqinxian (JIRA)" <ji...@apache.org> on 2007/06/20 17:15:26 UTC

[jira] Created: (DIRMINA-388) I try mina with a ftp client, it's sampe codes.

I try mina with a ftp client, it's sampe codes.
-----------------------------------------------

                 Key: DIRMINA-388
                 URL: https://issues.apache.org/jira/browse/DIRMINA-388
             Project: MINA
          Issue Type: Test
          Components: Example
    Affects Versions: 1.1.0
            Reporter: xiangqinxian
            Priority: Trivial


Hi,
I try mina with ftp client.
maybe its a simple example for mina using.
noted apache ftpserver project use block socket connection as ftp data channel.
but I dont think its a good idea.
sorry no comments, If need, please notify me, I would do adding.

just do run:
$ ant run
it will download welcome.msg to current directory.
Test code just reside in Controller.java main.


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


[jira] Updated: (DIRMINA-388) I try mina with a ftp client, it's sampe codes.

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

xiangqinxian updated DIRMINA-388:
---------------------------------

    Attachment: minftpclient.jar

just run "ant run" check downloading a welcome.msg file from ftp.gnu.org 

> I try mina with a ftp client, it's sampe codes.
> -----------------------------------------------
>
>                 Key: DIRMINA-388
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-388
>             Project: MINA
>          Issue Type: Test
>          Components: Example
>    Affects Versions: 1.1.0
>            Reporter: xiangqinxian
>            Priority: Trivial
>         Attachments: minftpclient.jar
>
>
> Hi,
> I try mina with ftp client.
> maybe its a simple example for mina using.
> noted apache ftpserver project use block socket connection as ftp data channel.
> but I dont think its a good idea.
> sorry no comments, If need, please notify me, I would do adding.
> just do run:
> $ ant run
> it will download welcome.msg to current directory.
> Test code just reside in Controller.java main.

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


[jira] Commented: (DIRMINA-388) I try mina with a ftp client, it's sampe codes.

Posted by "xiangqinxian (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511161 ] 

xiangqinxian commented on DIRMINA-388:
--------------------------------------

Agree it. If All will accept this, happy to see happening.
I will add more works on it later.

> I try mina with a ftp client, it's sampe codes.
> -----------------------------------------------
>
>                 Key: DIRMINA-388
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-388
>             Project: MINA
>          Issue Type: Test
>          Components: Example
>    Affects Versions: 1.1.0
>            Reporter: xiangqinxian
>            Priority: Trivial
>         Attachments: minftpclient.jar
>
>
> Hi,
> I try mina with ftp client.
> maybe its a simple example for mina using.
> noted apache ftpserver project use block socket connection as ftp data channel.
> but I dont think its a good idea.
> sorry no comments, If need, please notify me, I would do adding.
> just do run:
> $ ant run
> it will download welcome.msg to current directory.
> Test code just reside in Controller.java main.

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


[jira] Commented: (DIRMINA-388) I try mina with a ftp client, it's sampe codes.

Posted by "Mark Webb (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513121 ] 

Mark Webb commented on DIRMINA-388:
-----------------------------------

It would be great if the code was not as complex.  Examples are usually viewed by people who are just learning about MINA and I think if our examples become too complex, people will lose sight of the MINA portions of the example.

> I try mina with a ftp client, it's sampe codes.
> -----------------------------------------------
>
>                 Key: DIRMINA-388
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-388
>             Project: MINA
>          Issue Type: Test
>          Components: Example
>    Affects Versions: 1.1.0
>            Reporter: xiangqinxian
>            Priority: Trivial
>         Attachments: minftpclient.jar
>
>
> Hi,
> I try mina with ftp client.
> maybe its a simple example for mina using.
> noted apache ftpserver project use block socket connection as ftp data channel.
> but I dont think its a good idea.
> sorry no comments, If need, please notify me, I would do adding.
> just do run:
> $ ant run
> it will download welcome.msg to current directory.
> Test code just reside in Controller.java main.

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


[jira] Commented: (DIRMINA-388) I try mina with a ftp client, it's sampe codes.

Posted by "Mark Webb (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511151 ] 

Mark Webb commented on DIRMINA-388:
-----------------------------------

Not sure I understand this entry.  Are you looking to have this FTP client added to the examples?  If so, I think its a good idea.

...Mark

> I try mina with a ftp client, it's sampe codes.
> -----------------------------------------------
>
>                 Key: DIRMINA-388
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-388
>             Project: MINA
>          Issue Type: Test
>          Components: Example
>    Affects Versions: 1.1.0
>            Reporter: xiangqinxian
>            Priority: Trivial
>         Attachments: minftpclient.jar
>
>
> Hi,
> I try mina with ftp client.
> maybe its a simple example for mina using.
> noted apache ftpserver project use block socket connection as ftp data channel.
> but I dont think its a good idea.
> sorry no comments, If need, please notify me, I would do adding.
> just do run:
> $ ant run
> it will download welcome.msg to current directory.
> Test code just reside in Controller.java main.

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


[jira] Closed: (DIRMINA-388) I try mina with a ftp client, it's sampe codes.

Posted by "Edouard De Oliveira (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edouard De Oliveira closed DIRMINA-388.
---------------------------------------

    Resolution: Incomplete

It is lacking javadoc and as there is pretty enough examples and much simpler already included , we won't include it in the code for the moment.
Moreover FtpServer subproject already provides a full ftp enabled server

Thank you for sharing your code with the community.
Keep hanging around here.

> I try mina with a ftp client, it's sampe codes.
> -----------------------------------------------
>
>                 Key: DIRMINA-388
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-388
>             Project: MINA
>          Issue Type: Test
>          Components: Example
>    Affects Versions: 1.1.0
>            Reporter: xiangqinxian
>            Priority: Trivial
>         Attachments: minftpclient.jar
>
>
> Hi,
> I try mina with ftp client.
> maybe its a simple example for mina using.
> noted apache ftpserver project use block socket connection as ftp data channel.
> but I dont think its a good idea.
> sorry no comments, If need, please notify me, I would do adding.
> just do run:
> $ ant run
> it will download welcome.msg to current directory.
> Test code just reside in Controller.java main.

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


Re: [jira] Commented: (DIRMINA-388) I try mina with a ftp client, it's sampe codes.

Posted by 向秦贤 <fy...@gmail.com>.
Yes, You are right, If they want complex, they can direclty NIO.
even so, There are few NIO Applications from NIO occurs.
Most people still do blocking applications.
From apache ftpserver, through using MINA, they still blocking data channel
with traditional style.
Those state directly NIO is not a cake of piece, through mostly basic NIO is
indeed be that.:)
Maybe there is a long process for world:)

Regards,

2007/7/17, Pat Farrell <pf...@pfarrell.com>:
>
> xiangqinxian (JIRA) wrote:
> > But a few people would not write just simple MINA applications in real
> > world.
>
> I totally agree that no one would use MINA for a simple application, but
> simple tutorials do help learning.
>
> Of course, if they want complex, they can just dive into NIO directly :-)
>
> Pat
>
> --
> Pat Farrell
> http://www.pfarrell.com/
>
>


-- 
向秦贤

Re: [jira] Commented: (DIRMINA-388) I try mina with a ftp client, it's sampe codes.

Posted by Pat Farrell <pf...@pfarrell.com>.
xiangqinxian (JIRA) wrote:
> But a few people would not write just simple MINA applications in real
> world.

I totally agree that no one would use MINA for a simple application, but
simple tutorials do help learning.

Of course, if they want complex, they can just dive into NIO directly :-)

Pat

-- 
Pat Farrell
http://www.pfarrell.com/


[jira] Commented: (DIRMINA-388) I try mina with a ftp client, it's sampe codes.

Posted by "xiangqinxian (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513134 ] 

xiangqinxian commented on DIRMINA-388:
--------------------------------------

Yes, it's.
But a few people would not write just simple MINA applications in real
world.



-- 
向秦贤


> I try mina with a ftp client, it's sampe codes.
> -----------------------------------------------
>
>                 Key: DIRMINA-388
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-388
>             Project: MINA
>          Issue Type: Test
>          Components: Example
>    Affects Versions: 1.1.0
>            Reporter: xiangqinxian
>            Priority: Trivial
>         Attachments: minftpclient.jar
>
>
> Hi,
> I try mina with ftp client.
> maybe its a simple example for mina using.
> noted apache ftpserver project use block socket connection as ftp data channel.
> but I dont think its a good idea.
> sorry no comments, If need, please notify me, I would do adding.
> just do run:
> $ ant run
> it will download welcome.msg to current directory.
> Test code just reside in Controller.java main.

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