we want to publish some files to students, that are updated automaticly. When we were running Moodle 1.9.x we linked html files as course files and they were overwritten via ftp access on a daily basis. As we upgraded to Moodle 2.0.x we are unalbe to access these files via ftp.
So we don't know how to publish and update these files in Moodle 2.0 - do you happen to have any idea?
Thanks for your help
Regards from Germany
Any ideas out there are highly appreciated
Might try this:
Create an FTP/scp accessbile folder (xfer) outside of Moodle ... another web server or a directory on the same server as the Moodle.
Might upload a zip and unzip it in the /xfer folder.
Setup a URL uploader repository in your Moodle. Then, while in Moodle, use the URL uploader and point to file/files (folder?) in the http://somesite/xfer site.
There might be some issues related to files that are updated in the xfer folder as once in Moodle 2's filedir area and database has a reference to them. Moodle won't autoupdate information contained in the DB - change to a filename and size might cause errors in Moodle but only way to know for sure is to 'tinker' with a few files/folders and see! ;)
'spirit of sharing', Ken
Thanks for your reply.
I think your point is a good one, but actually everybody with the link could access these files (these are only two single files per course), you won't have to be logged in to Moodle. If it is possible to prevent users from accessing these files without beeing logged in, this solution will fill all of our needs.
Please see here for a further detailed discussion:
Unfortunately the new file system COPIES uploaded files when you link them into a resource which can have its positive and negative effects: positive because you can backup the file along with the resource, positive also because you could reference one and the same file more than once but keeping only one uploaded file, negative if you reference the file in multiple resources and you delete the file, negative if you have multiple references but want to change the file version only in one reference, ie. in one resource, negative if a team of teachers work on one or more course/s and nobody knows which file and file version was linked in which resource or course, negative if you want to automatically update, backup, restore the files, as we were used in Moodle 1.9
From a sysadmin's point of view I have a lot of negative impressions, and a lot of reasons to keep our productive server on Moodle 1.9