Hi <@U04S8PLJWMT> Does Airbyte File source connect...
# ask-ai
s
Hi @kapa.ai Does Airbyte File source connector support multiple json (using wildcard) files from S3?
k
Based on the knowledge sources, I need to clarify an important distinction between two different Airbyte connectors: File (CSV, JSON, Excel, Feather, Parquet) Source Connector: This connector does not support multiple files. According to the [documentation](https://docs.airbyte.com/integrations/sources/file#supported-sync-modes), it "replicates only one file at a time" and "produces a single table for the target file." The supported sync modes explicitly state that it does not support "Replicate Folders (multiple Files)" or "Replicate Glob Patterns (multiple Files)". S3 Source Connector: This is a separate connector that does support multiple files. According to the [S3 connector documentation](https://docs.airbyte.com/integrations/sources/s3#supported-sync-modes), it supports "Replicate Multiple Files (pattern matching)" and can sync multiple files using [glob-style patterns](https://docs.airbyte.com/integrations/sources/s3#globs). The S3 connector supports JSON/JSONL format files and can use patterns like
**/*.json
to match multiple JSON files. Recommendation: If you need to sync multiple JSON files from S3, you should use the S3 Source Connector rather than the File Source Connector. When [setting up the S3 source](https://docs.airbyte.com/integrations/sources/s3#for-airbyte-cloud), select JSONL as the file format and use glob patterns to specify which files to replicate.
A message from kapa.ai
Based on the knowledge sources and our previous discussion, the answer remains the same: No, the File (CSV, JSON, Excel, Feather, Parquet) Source Connector does not support multiple files using wildcards. According to the [File connector documentation](https://docs.airbyte.com/integrations/sources/file#supported-sync-modes), this connector explicitly does not support: - Replicate Folders (multiple Files) - Replicate Glob Patterns (multiple Files) It only replicates one file at a time. However, the S3 Source Connector does support this functionality. The [S3 connector](https://docs.airbyte.com/integrations/sources/s3#supported-sync-modes) supports "Replicate Multiple Files (pattern matching)" and allows you to use [glob-style patterns](https://docs.airbyte.com/integrations/sources/s3#globs) with wildcards. For example, with the S3 connector, you can use patterns like: -
**/*.json
- to match all JSON files in the bucket -
myFolder/**/*.json
- to match all JSON files under a specific folder -
**/prefix*.json
- to match all JSON files with a specific prefix Solution: Use the S3 Source Connector instead of the File Source Connector if you need to sync multiple JSON files from S3 using wildcard patterns.