Repositories FAQ: Difference between revisions

From MoodleDocs
Line 12: Line 12:


There is no need to do anything, as any unused files are detected and then deleted automatically after a period of time. Users cannot delete files manually, since they may be used elsewhere.
There is no need to do anything, as any unused files are detected and then deleted automatically after a period of time. Users cannot delete files manually, since they may be used elsewhere.
Draft files are kept for 4 days and then moved to trash. When an activity or resource which uses a file is deleted, the file is moved immediately to trash. Trash is emptied i.e. files are deleted completely once a day.


==If I add a file (File resources) to a page, then delete the File resource, will the file I added remain in my Recent files list?==
==If I add a file (File resources) to a page, then delete the File resource, will the file I added remain in my Recent files list?==

Revision as of 08:47, 15 May 2012

What is a repository?

A repostitory can be thought of as a storage area from which users can retrieve files to add to their course. There are several repositories enabled by default, such as Server files which contains files from other courses a user has access to, or Upload a file which allows the user to search their computer or USB drive for a file to upload. Other repositories include Google Docs,or Flickr. See Repositories for more information.

How can I enable repositories in Moodle?

Repositories can be enabled by a site administrator in Settings > Site administration > Plugins > Repositories > Manage repositories.

All enabled and visible repositories will appear in the file picker.

How can I delete an embedded file previously added using the file picker?

There is no need to do anything, as any unused files are detected and then deleted automatically after a period of time. Users cannot delete files manually, since they may be used elsewhere.

Draft files are kept for 4 days and then moved to trash. When an activity or resource which uses a file is deleted, the file is moved immediately to trash. Trash is emptied i.e. files are deleted completely once a day.

If I add a file (File resources) to a page, then delete the File resource, will the file I added remain in my Recent files list?

No. The file will not be available.

How do I create a new repository on my site?

You can create a new repository that will show up on the file picker. See File system repository.

See also