$filename = time() . $file->getClientOriginalName();
Storage::disk('do')->put("public/images/{$directory}/{$filename}", File::get($file), 'public');
return "images/avatars/{$filename}";
I upload file there is not any error but file doesn't upload to digitalocean spaces