Page 1 of 1

Uploaded File name structure

Posted: Thu May 18, 2017 9:32 am
by marius
Good day

I would like to find out how the uploaded files are renamed into the naming convention which they are stored on the server. Here for instance is an example of a file that was uploaded by an administrator: 884_47_1494673493_Successful Time Management.pdf

I could deduct that the third parameter is the unix timestamp, but how are the first two parameters determined - in this case 884 and 47?

Reason for my asking is that I am in the process of competing a backup and rebuild of one of our servers and would like to determine what the impact may be if some of the files are renamed...

Regards

Re: Uploaded File name structure

Posted: Thu May 18, 2017 9:38 am
by max
Hi,
if I remember well 884 is the user id (in the db) and 47 the course id

Re: Uploaded File name structure

Posted: Thu May 18, 2017 10:00 am
by marius
Hi max

Thanks for the quick answer - seems the first parameter (in this case 884) is the courseID, but the second is not the user - I'll mine around a bit to see if I can trace where the second parameter comes from.

Regards

Re: Uploaded File name structure

Posted: Fri May 19, 2017 3:31 am
by marius
Hi Max

Relating to the file name structure - is there a bulk method to create HTML Learning Objects with attachments?
My client has a vast eBook library which needs to be uploaded, but creating these LO's one by one is extremely time consuming...

Re: Uploaded File name structure

Posted: Fri May 19, 2017 1:35 pm
by max
Sorry, there is no bulk method I can think of