Omer-Pitou
asked on
WebService: Right protocol to use for large set of data.
Dear sirs,
I am completing a web service whose role is to share data between a desktop application and a web one.
I can upload data (List<?>) using a HTTP POST request, download data using a HTTP GET request.
With a web service, once data is uploaded I can use the same routine to do further processing.
I had an intention to switch to FTP since the data to upload can be large, and send a HTTP POST request to trigger the processing of the data uploaded via FTP.
My concern is this one: if I stick to HTTP, what is the maximum size allowed in a HTTP request.
Regards
I am completing a web service whose role is to share data between a desktop application and a web one.
I can upload data (List<?>) using a HTTP POST request, download data using a HTTP GET request.
With a web service, once data is uploaded I can use the same routine to do further processing.
I had an intention to switch to FTP since the data to upload can be large, and send a HTTP POST request to trigger the processing of the data uploaded via FTP.
My concern is this one: if I stick to HTTP, what is the maximum size allowed in a HTTP request.
Regards
That depends on both your web server and your programming language on the server.
ASKER
For now I use Tomcat with Java
You'll have to look it up in the settings for the server.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.