Login
Login
Communities
Directory
Help
Language
Legal
Search
Communities
Directory
Help
Language
Legal
Search
Default file names
Visit
Poke
Streams
Fri, 24 Feb 2023 17:54:37 -0800
from Hypogea
ray peaslee
wrote the following
post
Fri, 24 Feb 2023 17:54:34 -0800
Default file names
Is it possible to expand on the default folder names to include the day?
for example
2023-02-24
Would it cause compatibility issues?
Thanks
@
ray peaslee
Link to source
d7e5faec-4f97-494a-815b-587b1130cbb1
1 Repeat
Streams (2 years ago)
Visit
Poke
ray peaslee
Fri, 24 Feb 2023 18:02:18 -0800
from hubzilla
oops, should have said default folder names....
Link to source
Visit
Poke
Mike Macgirvin
Fri, 24 Feb 2023 18:28:18 -0800
from zap
That's already supported - you can change it in your settings. '%d' is the option for current day. Or do you mean as a default for everybody?
Link to source
Visit
Poke
ray peaslee
Fri, 24 Feb 2023 18:53:10 -0800
from hubzilla
@
mike
yeah, I was looking in the wrong spot. been testing using
include/attach.php
Couldn't really figure out what web-dav uses.
Link to source
Visit
Poke
Mike Macgirvin
Fri, 24 Feb 2023 19:32:36 -0800
from zap
web-dav doesn't need a default folder. Otherwise anything you upload goes through attach_store() at some point. This determines the default directory (creating it if necessary), and calls filepath_macro() to set the date elements.
Link to source
1 Like
ray peaslee (2 years ago)
Login
Login/Email
Password
Remember me
Login
Register
Password Reset
Remote Authentication