Hi,Hi Adam,
For some reason if you try and share a non-public folder, it provides you with a link to use. Yet it then changes to another folder - totally different.
This has occurred both for me and another user.
How can this be fixed?
// create short url
$tracker = 1;
$shortUrl = file::createShortUrlPart($tracker . $dbInsert->id);
$fileTmp = file::loadByShortUrl($shortUrl);
while ($fileTmp) {
$shortUrl = file::createShortUrlPart($tracker . $dbInsert->id);
$fileTmp = file::loadByShortUrl($shortUrl);
$tracker++;
}