-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
good first issueGood for newcomersGood for newcomers
Description
Description
I'm trying to generate a temporary upload URL using Storage::temporaryUploadUrl(), but it throws an exception saying that the driver does not support it.
Code to reproduce
['url' => $url] = Storage::temporaryUploadUrl(
$this->fullpath,
now()->addMinutes(config('filesystems.presigned_expires'))
);
Error message
{
"message": "This driver does not support creating temporary upload URLs.",
"exception": "RuntimeException",
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemAdapter.php",
"line": 769
}
Steps to reproduce
- Set up Laravel with the Azure Storage driver.
- Call Storage::temporaryUploadUrl('some/file/path.txt', now()->addMinutes(10));
- Observe the exception.
Expected behavior
Since temporaryUploadUrl() is available in Laravel, I expected Azure Storage to support it or provide an alternative.
Environment
Laravel Version: 10
PHP Version: 8.1
Package Version: "azure-oss/storage-blob-laravel": "^1.3",
Thank you in advance for your time and any help you can provide!
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers