Name of uploaded files
-
@mechanix you have to change core for that.
NodeBB/src/controllers/uploads.js at master · NodeBB/NodeBB
Node.js based forum software built for the modern web - NodeBB/src/controllers/uploads.js at master · NodeBB/NodeBB
GitHub (github.com)
-
the numbers are kind of necessary, since you might upload many files of the same name.
-
@bentael said in Name of uploaded files:
the numbers are kind of necessary, since you might upload many files of the same name.
I understand. OK, but how can I get a time stamp before the file name then. Right now there are only random numbers.
-
@julian said in Name of uploaded files:
The numbers are actually a timestamp, they are not random.
They're not actual UNIX timestamps, but similar; Just with milliseconds instead of seconds. This might have confused @mechanix
-
@frissdiegurke said in Name of uploaded files:
@julian said in Name of uploaded files:
The numbers are actually a timestamp, they are not random.
They're not actual UNIX timestamps, but similar; Just with milliseconds instead of seconds. This might have confused @mechanix
Exactly. I understand that Unix time is great to have unique file uploads but it would be more intuitive to use standard time stamps.