sausin / laravel-ovh

Wrapper for OVH Object Storage integration with laravel
MIT License
37 stars 12 forks source link

I can't send nothing #95

Open lvothnrv opened 1 month ago

lvothnrv commented 1 month ago

I have a problem, when I try to send a file it gives me false, it connects well I have the impression because I don't have a credential error but I can't send. returns a false message to me. I am using Laravel 10.10

    try {
        $path = Storage::disk('ovh')->put('file.txt', 'Contenu du fichier');
        return response()->json($path);
    } catch (\Exception $e) {
        return response()->json(['error' => $e->getMessage()], 500);
    }