<@U04SE163WC8> - how do I set up a s3 source for a...
# ask-community-for-troubleshooting
l
@kapa.ai - how do I set up a s3 source for a path that has space characters in the path?
k
A message from kapa.ai
To set up an S3 source with a path that has space characters, you can use the appropriate glob pattern in the "Pattern of files to replicate" field when configuring the S3 source in Airbyte. You can learn more about constructing the correct pattern for complex needs in the [Path Patterns docs](https://docs.airbyte.com/integrations/sources/s3#path-patterns). For example, if your path has a space character like this:
my folder/my file.csv
, you can use a pattern like
my\ folder/my\ file.csv
or
my\ folder/*
to match all files in that folder. Keep in mind that the pattern should be a glob pattern, and you should escape the space characters with a backslash (
\
).
l
@kapa.ai - is the path pattern case sensitive?
k
A message from kapa.ai
Sorry @Leo Qin, I seem to be having a bit of trouble. Don't worry though, I've pinged my support folks and they will try to fix me up! 🧑‍💻 Perhaps try again in 5mins?
l
@kapa.ai - is the path pattern case sensitive?
k
A message from kapa.ai
Sorry @Leo Qin, I seem to be having a bit of trouble. Don't worry though, I've pinged my support folks and they will try to fix me up! 🧑‍💻 Perhaps try again in 5mins?
l
@kapa.ai say my files are stored in a path like
ABC/My Report/my_report.csv
, how should i write a pattern to match these files?
k
A message from kapa.ai
To match files stored in a path like
ABC/My Report/my_report.csv
, you should write a pattern that escapes the space characters with a backslash (
\
). In this case, the pattern would be
ABC/My\ Report/my_report.csv
. Here's the pattern you should use:
Copy code
ABC/My\ Report/my_report.csv
Remember to use this pattern in the "Pattern of files to replicate" field when configuring the S3 source in Airbyte. For more information on path patterns, refer to the [Path Patterns docs](https://docs.airbyte.com/integrations/sources/s3#path-patterns).