S3ToSFTP: Move multiple files from same S3 key to SFTP path
问题 Requirement : Move multiple files from the same S3 Key to SFTP Below is the part of the code, I was able to achieve moving one file into SFTP location. If the s3_key location has more than 1 file example as below, I need to get both files from /path/output to SFTP Location /path/output/abc.csv /path/output/def.csv Tried: But both files are not posted Tried passing s3_key as '/path/output/*.csv' Code with sftp.open(sftp_path + key_name, 'wb') as f: s3_client.download_fileobj(s3_bucket,s3_key,