Does a restored file get a new public link?
No. The address is kept. After a restore the same public link works again, if the file is public again.
No. The address is kept. After a restore the same public link works again, if the file is public again.