our use case needs to upload file from our on-premise server to an AWS EC2. Tried doing some research and could not find any available code samples on how to do this in Java. Has anyone done this before? and if yes and you direct me to some code template or sample codes I can use as basis.
We are using Java 8 by the way. Our EC2's VPC is connected to our on-premise network so for sure our on-premise server can see it.