Administering Files
You administer Files using the wsadmin client to specify properties in a configuration file, or run administrative commands.
You edit the configuration file to control how and when various Files operations take place. You use the administrative commands to perform tasks that manipulate Files content. Changes to the configuration file require node synchronization and a restart of the Files server before they take effect. Changes made using administrative commands take effect immediately.
- Enabling sync for files and folders
Enable sync for files and folders in the Files application. This feature enhances collaboration by allowing users to keep files and folders synchronized even when working offline. - Managing images and videos for thumbnails and preview
You can control the size of thumbnails for images and videos using the file-preview-config.xml. - Enabling round-trip editing for files
Enable round-trip editing for files so that users can check out a file and edit it locally with one click. - Administering Push Notification
With push technology the file sync feature scales to multiple clients and the clients can update their content faster when changes are made on the server. - Changing Files configuration property values
Configuration properties control how and when various Files operations take place. You can edit the properties to change the ways that Files operates. - Running Files administrative commands
Use administrative commands to perform tasks that manipulate Files content. - Backing up Files data
Files stores data in both the database and a file system. This adds some complication in keeping the application available to users while backing up data. - Displaying files inline
Configure Files to display files inline instead of as attachments. This is useful when you use the Files API to download and display active content, such as Adobe® Flash (.swf) files, in your own HTML pages. Enable inline display by changing a configuration property in thefiles-config.xml
file. Then set the inline parameter to true in your download requests. - Restricting file types in Files
You can restrict the types of files that users can upload in Files. - Setting a maximum size on libraries
Use FilesLibraryService commands to assign a policies to libraries. A library is a set of files owned by a person or community. A policy sets a maximum size for a library. - Working with Files policies
Use the FilesPolicyService commands to add, edit, count, and return information about policies. You apply policies to libraries to set a maximum size on those libraries. - Seeing Files library information
Use FilesLibraryService commands to see information about libraries, such as its owner, type, and size. A library is a set of files owned by a person or community and stored in the database. - Filtering lists returned by commands
Use the FilesUtilService commands to filter lists of maps returned by browse commands. - Printing information returned by commands
Use the FilesPrintService.saveToFile command to print information returned by other commands. - Disabling automatic email notification of file updates
When an user downloads a file for the first time, Files sets a preference so that the user receives an email notification when the file is edited or commented on. The assumption is that users want to receive email about updates to the file. You can disable this notification using thefiles-config.xml
file. - Disabling file versioning
By default, when a user uploads a new version of a file it becomes the latest version, and all previous versions are kept. Users can see all versions of a file in the user interface. You can disable file versioning in the files-config.xml properties file. - Transferring ownership of user files
As an administrator, you can use a wsadmin command to transfer the ownership of multiple files belonging to an active or inactive user Connections Alternatively, you can use the Files app's user interface to transfer--one file at a time--an active user's files. -
Deleting user files from the system
Use the FilesLibraryService delete commands to delete user files. - Finding the location of a stored file
Use the FilesUtilService.getFileById command to locate a file stored in a directory on a file system.
Parent topic:Administering
Related information