I was reading spring Uploading Files Getting Started Guides.In this guide the file was saved in local file system using nio.
I wonder what should I do if I want to save files to a file server?I found sftp and nfs,is nfs better when the file server is in the same lan with the tomcat server?Is there any ohter ways?