I have a API in Laravel a file store
$request->file("file$i")->storeAs('categories', $nameFile)
As it stands it stores the data correctly in the address
/var/www/html/apiapp/storage/app/public/categories
But I would like to save these files in the
/var/archives
Because these files will be accessed by another application