FTPS or HTTPS - which is the better way to transfer big files from hundreds of clients to server using Java?

611 Views Asked by At

Parameters for evaluation:
- 1000 connections from the client (connection may be slow in some cases)
- Multithreaded upload when connection is good (of the same file, or different files) - Ability to resume an upload from the client
- SSL/TLS support (in case of FTPS and HTTPS)
- Load balancer in front of the server

The client would be written in Java and so requires a Java interface to the FTPS/HTTPS client.

So far, I have taken a look at Apache Commons FTPS/HTTP clients, Apache MINA and Apache Camel. There was a comment in SO that Commons FTPS client does not resume uploads - is this really so (the API seems to support it though).

1

There are 1 best solutions below

0
On

If you are looking for massive perfs, you should try to write your own protocol on top of SSL (using Apache MINA or Netty or plain NIO)