I want to upload large file (any format) more than 1GB. what technique I will use FTP or HTTP. And I want to add stop and resume feature to file i am uploading. How can I do that? Any example or API or library?
Asked
Active
Viewed 6,320 times
6
-
Refer [here][1] Its done using plupload. Hope it helps. [1]: http://stackoverflow.com/questions/6074516/how-could-i-upload-a-large-file-in-chunks-using-java?s=2%7C1.7848 – Ashutosh Jha Apr 08 '15 at 19:38
4 Answers
2
Apache commons net has an FTP-client. And some other protocol implementations. http://commons.apache.org/net/

Ludwig Magnusson
- 13,964
- 10
- 38
- 53
1
You can try the default HttpUrlConnection or Apache HttpClient.

Michael-O
- 18,123
- 6
- 55
- 121
-
which will be best as I want to upload large size file and it should be faster – amrit_neo Jun 04 '12 at 11:56
-
@amrit_neo - it probably makes little difference. The network and disc / file system bandwidth will probably be the limiting factors. But feel free to implement both to see which works best for you ... – Stephen C Jun 04 '12 at 12:07
1
Refer here
I have done it using plupload. Hope it helps you. Any number of files of any sizes can be uploaded using it..

Community
- 1
- 1

Ashutosh Jha
- 1,465
- 1
- 17
- 28