There are many different blocks that are aimed at loading files. Their data do not save in items_list. There is a separated array for that called file_list. In this chapter we will see what data about files is used in the application.
For each loaded file will be saved all needed data about it.
||due to this property, file is saved in the application folder|
||saves file extension; used in generating a new name|
||saves generated by the server identification number for file|
||initial file name saves in this property; in the future, it is not used since a new name is generated|
||shows which item this file belongs to|
||shows last time of file update in milliseconds|
||shows path to the file on the server|
At first, server generates an identification number for file. Then server merges it with the extension and saves as a new file name.
Saving Files On The Server
Let’s look at url. It consists of three parts:
File name created by the server: