laravel-ovh icon indicating copy to clipboard operation
laravel-ovh copied to clipboard

I can't send nothing

Open lvothnrv opened this issue 4 months ago • 0 comments

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);
    }

lvothnrv avatar Sep 28 '24 19:09 lvothnrv