This is an English forum, so please write in English, it will increase the chances of getting help.
importar arquivo csv no bucket s3
Hello, I'm having trouble importing the file into s3 using the filament package. I'm getting the error that the file could not be located, but the file is being saved in the 'temp' folder within the 'imports' folder.
.env: AWS_ACCESS_KEY_ID=meuID AWS_SECRET_ACCESS_KEY=Key AWS_DEFAULT_REGION=us-east-1 AWS_BUCKET=emdia-new-dashboard AWS_URL=https://emdia-new-dashboard.s3.amazonaws.com AWS_USE_PATH_STYLE_ENDPOINT=true
filesystems.php: 's3' => [ 'driver' => 's3', 'key' => env('AWS_ACCESS_KEY_ID'), 'secret' => env('AWS_SECRET_ACCESS_KEY'), 'region' => env('AWS_DEFAULT_REGION'), 'bucket' => env('AWS_BUCKET'), 'url' => env('AWS_URL'), 'endpoint' => env('AWS_ENDPOINT'), // Use esta linha se precisar de um endpoint personalizado 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false), // Certifique-se de que é booleano 'throw' => false, ],
method: protected function getHeaderActions(): array { return [ Action::make('imporC2Elegibilidade') ->label('Importar base') ->icon('bi-upload') ->form([ FileUpload::make('attachment') ->disk('s3') ->directory('imports') ]) ->action(function (array $data) { log('salvou o arquivo'); })
];
erro: Unable to check existence for: imports/temp/cDaEpqbqpQZnE14veL9AJDhgeAQqrj-metabGF5b3V0X2ltcG9ydF9hZ3YtaW1vYi5jc3Y=-.csv
Please or to participate in this conversation.