Based on SpringBoot2. X + elFinder build private cloud disk service, function comparable to a certain degree of network backup, rich interface operation, provides a variety of API, the most important is also can custom development related functions, is a rare file management,
Environmental structures,
Software version function address
SpringBoot 2.2.6 universal framework https://spring.io/projects/spring-boot/
ElFinder 2.1.38 file management https://studio-42.github.io/elFinder/
File management
Files and folders add, delete, move, the nuptial
Online packaging file
File download, upload
Online preview file, picture
Online processing images, the file
Configuration
Configuration parameters:
#===================================
# network backup
#===================================
File-manager.com mand=com.tools.common.elfinder.com mand
File - manager. Thumbnail. Width=80
File - manager. Volumes [0]. Node=
File - manager. Volumes [0]. Source=fileSystem
File - manager. Volumes [0]. Alias=file
File - manager. Volumes [0]. Path=D://cloudFile
File - manager. Volumes [0]. IsDefault=true
File - manager. Volumes [0]. Locale=
File - manager. Volumes [0]. Constraint. Locked=false
File - manager. Volumes [0]. The constraint, readable=true
File - manager. Volumes [0]. The constraint, writable=true
Mapping configuration:
@ Component
@ Data
@ ConfigurationProperties (prefix="file manager")
Public class ElfinderConfiguration {
Private Thumbnail Thumbnail;
Private String command;
Private List
Private Long maxUploadSize=1 l;
}
Preview the
https://gitee.com/52itstyle/SPTools
Summary
Consolidation before SpringBoot1. X version of the network location of the project, but SpringBoot2. X slightly change, do a little bit processing, the subsequent will follow more functions, such as multi-user file management, file preview authentication and so on a series of functions,
The source code
Network location address: https://gitee.com/52itstyle/SPTools, use the Git pull, and then switch to the network backup version of branch experience,