I supposed if I could find the file, I could use FTP to manage these files, but that seems to defeat the purpose of the File Repository.
If there is a setting or command that I am missing, please enlighten me
Clarence
Re: How do you delete or move a file in the Repository?
Re: How do you delete or move a file in the Repository?
Where are you using the file picker?
For forum attachments, if you uploaded one, you will be able to rename/remove it by file manager.
When you start a new forum post or edit an existing forum post, moodle will create a draft area for files, you can rename/remove file in this stage, after you hit the submit button, moodle will move the file to a proper location. Since moodle 2.0, you will not be able to manage moodle files by ftp or webdav, we store files in a file pool, the filepath and filename area generated by sha1 value of the file. If you move or delete it, moodle will not be able to find it.
Re: How do you delete or move a file in the Repository?
Hi Donsheng,
I found the file manager icon next to the file name in the edit mode of a forum post. That works fine for file attachments, now that I now where to look .
However, what about images you have uploaded and incerted via the HTML editor? Or, how do you manage files if you create a hyperlink in the HTML editor and use the File Picker to upload files? I don't see any way to delete these files.
Thanks for your help.
Clarence
Re: How do you delete or move a file in the Repository?
Yes I have the same problem, how do you delete a file you have uploaded as part of an HTML description or on a page?
Re: How do you delete or move a file in the Repository?
Re: How do you delete or move a file in the Repository?
David, I think this is clear. This kind of comment needs to be captured somewhere (because I know I will need it sometime!!)
I checked out http://docs.moodle.org/en/Repositories
I was tempted to create a page http://docs.moodle.org/en/File picker
Any suggestions?
Re: How do you delete or move a file in the Repository?
I also found David's reply helpful and added the information to Repositories FAQ.
Re: How do you delete or move a file in the Repository?
Thanks David, it now makes sense to me
Hi David,
thanks, that is interesting. That happens when I do the following:
- upload images on front-page main menu via file picker
- add these images in the editor on the front page
- then i realize: images need to be improved (color is wrong)
- i delete the old images - upload the new ones (same file names as the old, but the new improved images)
now i am in big trouble: new images are ignored and the old images are still displayed. i can't even add the new images, when i try to do this, the editor displays an error "file exists already" (translated from german).
So what is the fastest way to add new images? delete everything, rename all the pictures? that is quite user unfriendly, or more clearly: quite unusable. just uploading the changed files would be more efficient. (Bug or feature? )
Best regards,
David