need the course files on ftp server

need the course files on ftp server

greg gov發表於
Number of replies: 5

hi, I need to find where the course files are created when we create a course, an activity or a resource. I indeed created a course and inside a new resource, a file html that I upload. The file works good but the content (pictures, html,...) is missing.

I so want to add this content in the folder where was created my file html on the moodle ftp server.

 

thanx a lot,

gregory

評比平均分數: -
In reply to greg gov

Re: need the course files on ftp server

Mary Cooch發表於
Documentation writers的相片 Moodle HQ的相片 Particularly helpful Moodlers的相片 Testers的相片 Translators的相片

Are you on 1.9? If so then look at the URL of your html file - it will have a number - each course has its own folder of files which is numbered (the front page is folder(directory) 1 and so on) If you go to your moodle on the server and look for the moodledata folder (which will be outside the root) then look in there for the appropriately numbered folder. If you are on 2.0 then it is slightly different眨眼

In reply to Mary Cooch

Re: need the course files on ftp server

greg gov發表於

yep I forgot to precise the moodle version and it's the version 2.0. I looked for what you say, but I only see the folder '/moodledata/filedir' which contains a lot of folders with numbers hexodecimal as a name but... there's nothing understandable inside...

 

help!

In reply to greg gov

Re: need the course files on ftp server

Mary Cooch發表於
Documentation writers的相片 Moodle HQ的相片 Particularly helpful Moodlers的相片 Testers的相片 Translators的相片

Yes - that's why I didn't go into detail about the 2.0 version course files微笑 Basically you cannot ftp into the course  files as you could with 1.9. If you do a search in the docs for file system repository this is one way you can get round this -make a folder on your server and ftp your stuff into there. Then inside your moodle in site admin>plugins>repositories you make a new repository called file system and that can be used in different courses to drag resources from.

評比平均分數:Useful (2)
In reply to Mary Cooch

Re: need the course files on ftp server

William Beazley發表於