简体   繁体   中英

best way to upload/download to a file server using spring?

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?

3个月没有答案后,我猜没有任何“标准”方法可以解决。但是,正如@pvpkiran在评论中建议的问题一样,我还认为FTP或SFTP是某种常见的解决方法。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM