Vert.x FTP Client Example in Java

747 views
Skip to first unread message

lauda...@gmail.com

unread,
Jun 20, 2016, 5:22:22 PM6/20/16
to vert.x
Hi there, I cannot find any working Vert.x FTP Client Example in Java... can somebody post an example?

Thomas Segismont

unread,
Jun 20, 2016, 5:30:45 PM6/20/16
to ve...@googlegroups.com
I'm not aware of any module providing a FTP client. Did you find one?

Le 20/06/2016 à 23:22, lauda...@gmail.com a écrit :
> Hi there, I cannot find any working Vert.x FTP Client Example in Java...
> can somebody post an example?
>
> --
> You received this message because you are subscribed to the Google
> Groups "vert.x" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to vertx+un...@googlegroups.com
> <mailto:vertx+un...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/vertx.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/vertx/5eccd4b3-ed04-4e92-aafa-4a079d4de4ff%40googlegroups.com
> <https://groups.google.com/d/msgid/vertx/5eccd4b3-ed04-4e92-aafa-4a079d4de4ff%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

lauda...@gmail.com

unread,
Jun 21, 2016, 3:14:47 AM6/21/16
to vert.x

Thomas Segismont

unread,
Jun 21, 2016, 3:35:04 AM6/21/16
to ve...@googlegroups.com
OK, note that is a module for Vert.x 2

The project README explains how to use it. You need to install and run
the module. Then you can and use it through the EventBus. The examples
are in Javascript but a Java EventBus client should work similarly.

Le 21/06/2016 à 09:14, lauda...@gmail.com a écrit :
>
>
> There is a JavaScriptExample:
>
> https://github.com/mohlemeyer/vertxFtpClient
>
> --
> You received this message because you are subscribed to the Google
> Groups "vert.x" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to vertx+un...@googlegroups.com
> <mailto:vertx+un...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/vertx.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/vertx/75cfe579-b650-4202-a01d-f897a44c659b%40googlegroups.com
> <https://groups.google.com/d/msgid/vertx/75cfe579-b650-4202-a01d-f897a44c659b%40googlegroups.com?utm_medium=email&utm_source=footer>.

Finn Bock

unread,
Jun 21, 2016, 3:56:17 PM6/21/16
to vert.x
A limited ftp client, with only java api, is available here:


FtpClient client = new FtpClient(vertx, host, 21);
client.connect(connectRes -> {
    client.login(user, pass, loginRes -> {
        client.retr("file.zip", writeStream, progress -> {}, retrRes -> {
            // downloaded
        });
    });
});

regards,
Finn

akshay kumar

unread,
Oct 17, 2016, 5:58:07 AM10/17/16
to vert.x
Hi Finn,
Is there any github examples where bckfnn/vertx-ftp-client client have been used.

My use case is to download mp3 files using FTP in vertx.

Julien Viet

unread,
Oct 20, 2016, 5:38:30 PM10/20/16
to ve...@googlegroups.com
-- 
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages