I have some files at SFTP location, the folder name contains spaces.
Example-
/abc.com/user_home/foo/bar baz/1.csv
I have configured the SFTP connection and tested it, it works.
env.yaml
connections:
MY_SFTP:
type: sftp
host: abc.com
private_key:
user:
sling conns test MY_SFTP
10:03AM INF success!
I want to setup a replication configuration, tried to run replication with below config.
Somehow the files are not found. I checked the sftp location, files do have read permissions (-rwxr--r--).
2025-09-04 09:58:32 INF connecting to target database (bigquery)
2025-09-04 09:58:33 DBG opened "bigquery" connection (conn-bigquery-MwX)
2025-09-04 09:58:33 INF reading from source file system (sftp)
2025-09-04 09:58:36 DBG opened "sftp" connection (conn-sftp-I3d)
2025-09-04 09:58:39 INF no files found
2025-09-04 09:58:39 DBG closed "bigquery" connection (conn-bigquery-MwX)
2025-09-04 09:58:39 INF execution succeeded
replication.yaml
---------------------------------------
source: MY_SFTP
target: BIGQUERY
defaults:
object: my_dataset.temp_table
mode: full-refresh
source_options:
format: csv
columns:
"**": string
streams:
streams:
"sftp://abc.com/user_home/foo/bar%20baz/*.csv":
object: "foo_data"
What is the issue in this config ?