Upload a large file (> 1 GB) to the server using java

I want to upload a large file (any format) over 1 GB. what technique will I use FTP or HTTP. And I want to add a stop and resume function to the file that I upload. How can i do this? Any example or API or library?

+4
source share
4 answers

Apache commons net has an FTP client. And some other protocol implementations. http://commons.apache.org/net/

+2
source

You can try the default HttpUrlConnection or Apache HttpClient.

+1
source

Try this library, it contains all the necessary functions:

http://www.sauronsoftware.it/projects/ftp4j/

+1
source

Contact here

I did this with plupload. Hope this helps you. Any number of files of any size can be downloaded using it.

+1
source

Source: https://habr.com/ru/post/1415944/


All Articles