Administer FilesYou 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.
Change 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.
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 the files-config.xml file. Then set the inline parameter to true in your download requests.
View and collect Files metrics
Use the FilesMetricsService commands and Server Metrics page in the product to monitor product usage, and to make configuration adjustments when necessary.
Setting a maximum size on files
You can set maximum sizes for files in the files-config.xml properties file.
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.
Work 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.
Disable automatic email notification on download
When an authenticated user downloads a file for the first time, Files automatically sets a preference so that the user receives emails when that file is edited or commented on. The assumption is that users want to receive emails about updates to the file. You can disable this automatic preference-setting by changing a configuration property in the files-config.xml file.
Disable 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.
Disable Files metrics collection
By default metrics are collected for Files. You can disable metrics collection in the files-config.xml properties file.
Delete user files from the system
Use the FilesLibraryService delete commands to delete user files.
Find the location of a stored file
Use the FilesUtilService.getFileById command to locate a file stored in a directory on a file system.
Parent topicAdminister IBM Connections