Uploaded File name structure

Backend functionalities: user management, course management, reports, certificates, etc.
Post Reply
marius
FormaLms User
Posts: 74
Joined: Wed Oct 05, 2016 3:59 am
Version: forma.lms 1.4.2

Uploaded File name structure

Post 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
User avatar
max
FormaLms Guru
Posts: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Uploaded File name structure

Post by max »

Hi,
if I remember well 884 is the user id (in the db) and 47 the course id
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
marius
FormaLms User
Posts: 74
Joined: Wed Oct 05, 2016 3:59 am
Version: forma.lms 1.4.2

Re: Uploaded File name structure

Post 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
marius
FormaLms User
Posts: 74
Joined: Wed Oct 05, 2016 3:59 am
Version: forma.lms 1.4.2

Re: Uploaded File name structure

Post 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...
User avatar
max
FormaLms Guru
Posts: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Uploaded File name structure

Post by max »

Sorry, there is no bulk method I can think of
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
Post Reply