<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=File_system_repository</id>
	<title>File system repository - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=File_system_repository"/>
	<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=File_system_repository&amp;action=history"/>
	<updated>2026-05-06T16:37:22Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=File_system_repository&amp;diff=955&amp;oldid=prev</id>
		<title>Олег Давидович: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=File_system_repository&amp;diff=955&amp;oldid=prev"/>
		<updated>2024-10-14T18:17:45Z</updated>

		<summary type="html">&lt;p&gt;1 версия импортирована&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 18:17, 14 октября 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Олег Давидович</name></author>
	</entry>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=File_system_repository&amp;diff=954&amp;oldid=prev</id>
		<title>1&gt;Mina: Link added.</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=File_system_repository&amp;diff=954&amp;oldid=prev"/>
		<updated>2018-09-30T09:01:12Z</updated>

		<summary type="html">&lt;p&gt;Link added.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Repositories}}&lt;br /&gt;
The file system repository allows access to files which have been uploaded (e.g. via FTP) into designated folders on the server. &amp;#039;&amp;#039;(Note that these folders are &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; created inside  the Moodle site, but on the server where Moodle is hosted.)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A file system repository may be available site wide for everyone or  within an individual course (set up by admin) or for an individual administrator. See MDL-28656 regarding course and individual repository configuration.&lt;br /&gt;
&lt;br /&gt;
This must be done by a systems admin who has write permissions to the server directories.&lt;br /&gt;
&lt;br /&gt;
When a file from the file system repository is re-used elsewhere on Moodle, the teacher has the option to make a copy (a new, unconnected version) or to create a shortcut or alias. See [[Working with files]] for more details.&lt;br /&gt;
&lt;br /&gt;
Once a repository has been created and files uploaded to it, the files can be made available within the file picker for use within a course.  There are several steps to take to implement this feature:-&lt;br /&gt;
&lt;br /&gt;
These must be done by a systems admin who  has write permissions to the server directories and admin permissions within Moodle.&lt;br /&gt;
&lt;br /&gt;
==Creating  folders for your file system repositories==&lt;br /&gt;
*Find the moodledata folder on the server&lt;br /&gt;
*Inside it, create a folder  called &amp;quot;repository&amp;quot;&lt;br /&gt;
*Inside that folder, create as many folders as you need, named appropriately.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| [[File:filesystemonserver.png|thumb|250px|Creating repositories on the server]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Copy into the appropriate folder the files you want (using FTP, SFTP, shared folder etc.). (The folders can hold all types of files)&lt;br /&gt;
&lt;br /&gt;
== Enabling the File System repository plugin==&lt;br /&gt;
*Go to &amp;#039;&amp;#039;Administration &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Repositories &amp;gt; Manage Repositories&amp;#039;&amp;#039;; &lt;br /&gt;
*Select from the drop down next to File system &amp;quot;Enabled and visible&amp;quot;&lt;br /&gt;
&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;: Ignore the similarly named repository &amp;#039;Server Files&amp;#039; (enabled by default).&lt;br /&gt;
*Click the &amp;#039;&amp;#039;&amp;#039;Settings&amp;#039;&amp;#039;&amp;#039; link..&lt;br /&gt;
&lt;br /&gt;
==Setting up a site-wide file system repository==&lt;br /&gt;
Having clicked the &amp;quot;Settings&amp;quot; link as above:&lt;br /&gt;
*Scroll down to Repositories instances of the site&lt;br /&gt;
*Click &amp;#039;&amp;#039;Create a repository instance&amp;#039;&amp;#039;&lt;br /&gt;
*Give it a name and (if there are several folders on the server) choose from the dropdown the one you want. Click &amp;#039;&amp;#039;&amp;#039;Save.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*It will now be available in the file picker in all courses.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| [[File:createinstance23.png|thumb|Creating a new file system repository]]&lt;br /&gt;
| [[File:setuprepo23.png|thumb|Selecting and naming the repository]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;NOTE: Just repeat the process to get more than one site wide file system repository&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
==Setting up a repository inside a course==&lt;br /&gt;
&amp;#039;&amp;#039;NOTE only Moodle admins can do this&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Enable repositories as in the instructions above. On the Settings page:&lt;br /&gt;
*Check the top box allowing users to add a repository instance to the course (1 below)&lt;br /&gt;
*Go to the desired course and click on “repositories” in the administration block(2 below)&lt;br /&gt;
*Scroll down and click &amp;quot;Create File System instance&amp;quot; (3 below)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| [[File:courseinstancerepo.png|thumb|1:Enable course repositories]]&lt;br /&gt;
| [[File:coursesettingsrepo1.png|thumb|2:Click &amp;quot;Repositories&amp;quot; in Course admin]]&lt;br /&gt;
| [[File:createcourseinstance.png|thumb|3:Click to create an instance in the course]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Follow the same process as [[#Setting_up_a_site-wide_file_system_repository|here]]&lt;br /&gt;
&lt;br /&gt;
==Setting up an individual file system repository instance==&lt;br /&gt;
&amp;#039;&amp;#039;NOTE: Only Moodle admins can do this&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Enable repositories as in the instructions above. On the Settings page:&lt;br /&gt;
*Check the top box allowing users to add a repository instance to the user context (1 below)&lt;br /&gt;
*From the user menu, click &amp;quot;Preferences&amp;quot;&lt;br /&gt;
*Click on “Repositories” &lt;br /&gt;
*Click “Create File System instance”&lt;br /&gt;
*Follow the same process as [[#Setting_up_a_site-wide_file_system_repository|here]]&lt;br /&gt;
*This will create a personal file system repository connecting just you to a folder on the server (2 below)&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| [[File:userinstancerepo.png|thumb|1:Enable user repository instances]]&lt;br /&gt;
| [[File:userprivaterepo.png|thumb|2:Adding files from individual repository]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Upload any files required by course creators to the appropriate folders&lt;br /&gt;
&lt;br /&gt;
Server permissions  are needed here to add via FTP (or other method) the required files.&lt;br /&gt;
&lt;br /&gt;
From this point on the check boxes need not be set - leaving them set just invites people to create a repository instance and then advises them that they do not have sufficient privilges.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Using a File System repository file===&lt;br /&gt;
&lt;br /&gt;
A user  can now make use of the uploaded files by accessing the repository from within the file picker, creating a resource link to a document, for example.  This process copies the uploaded file into Moodle and students may access the resource.&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s possible to search the files in the File system repository to make locating files easier if there are many files available.&lt;br /&gt;
&lt;br /&gt;
[[File:FileSystemreposearch.png|thumb|600px|center|Searching the file system repository]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that file types are respected (based on file extensions), so if you are adding an image in the editor, then you won&amp;#039;t see Office docs (for example) appear in the File Picker.&lt;br /&gt;
&lt;br /&gt;
==Repository capabilities==&lt;br /&gt;
&lt;br /&gt;
There is just one capability, [[Capabilities/repository/filesystem:view|View file system repository]], which is allowed for the default manager, course creator, non-editing teacher and editing teacher roles. It is not set for the authenticated user role. Thus, students cannot by default view the file system repository.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[File_system_repository_FAQ|File system repository FAQ]]&lt;br /&gt;
* [[Restoring file aliases]]&lt;br /&gt;
* Overview of [[Repositories|Repositories]]&lt;br /&gt;
* [http://www.somerandomthoughts.com/blog/2010/06/15/ftp-files-into-moodle-2-0-with-the-repository-api/ FTP files into Moodle 2.0 with the repository API article from somerandomthoughts.com] including screencast&lt;br /&gt;
&lt;br /&gt;
[[Category:Site administration]]&lt;br /&gt;
[[de:Dateisystem-Repository]]&lt;br /&gt;
[[es:Repositorio_sistema_de_archivo]]&lt;br /&gt;
[[fr:Dépôt système de fichier]]&lt;/div&gt;</summary>
		<author><name>1&gt;Mina</name></author>
	</entry>
</feed>