Welcome! Log In Create A New Profile

Advanced

how to apload a file to nginx server using a java code

how to apload a file to nginx server using a java code
August 25, 2015 05:34AM
Hi,

I am evaluating nginx for my product. We want reading/fetching all static content from nginx. But currently I am using a single glassfish server for all the requests. So all the requests from my android app comes to that server directly for all kind of requests.

Now I want image featch requests to be processed by nginx, while all other(including image upload) requests to processed by glassfish. So I will hit glassfish for image upload and from there I want to upload the file to nginx server, so that the file becomes available for read from nginx.

Could you please tell me how can I upload a file to a specific directory in the nginx using java code?

Regards,
Chandra
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 125
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready