Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't send nothing #95

Open
lvothnrv opened this issue Sep 28, 2024 · 0 comments
Open

I can't send nothing #95

lvothnrv opened this issue Sep 28, 2024 · 0 comments

Comments

@lvothnrv
Copy link

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);
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant