Download file from another server

I am using two servers, in one server I am running UI (wars developed from Vaadin) and in another server running web services. I have files in server which is running webservices. I have to download them(files) from UI server. Please anyone suggest me how to download files from another server. I know to download from the same server by specifying file path.

There are many ways to do this one for example…

  1. Add servlet to the remote server and let it serve files to the UI server.
  2. If you have “getFile()” WS service use that one and load file from ws server to the UI server
  3. Let UI server see WS server folder(map network drive) where the files are or use UNC paths

Thanks for your reply,

My doubt is, without a service call is it possible to download a file. Please suggest me.