Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] tS3Put How do I put files in specific folders within an S3 Bucket

Hi there,
I can put files directly into S3 buckets using tS3Put.
But how do I put files into specific folders within S3 buckets using talend?
Do i use the tS3Put component? and how?
any help would be appreciated
many thanks
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi Niall,
You can do that... Earlier I used windows power shell to do this...
I visualize S3 Bucket like a drive... you can put your files inside sub folders in that drive... there should not be any problem to do this...
Whether you are able to browse those folders through s3 browser in web? If you can do that, then you should be able to communicate with those folders as well... else there might be some permission issues.
Vaibhav

View solution in original post

6 Replies
Anonymous
Not applicable
Author

Yes,
You will have to use tS3Put component and specify name of that folder(Bucket) where you want to place the file.
https://help.talend.com/pages/viewpage.action?pageId=19424125#cloud-file_exchanges_with_amazon_s3_se...
Vaibhav
Anonymous
Not applicable
Author

Dear Vaibhav,
Many thanks for your reply.
I have gone through that and I can put and get files in an S3 bucket using ts3put and ts3get in the link you provided.
However, I CANNOT put and get files into folders which exist within buckets:
e.g. my bucket is called "files", and within the files bucket I want to put files into a folder called "today's files".
Can you please tell me if this is possible?
Also a side question (if thats okay) are folders within s3 buckets - actually buckets themselves?
Thanks,
Niall
Anonymous
Not applicable
Author

Hi Niall,
You can do that... Earlier I used windows power shell to do this...
I visualize S3 Bucket like a drive... you can put your files inside sub folders in that drive... there should not be any problem to do this...
Whether you are able to browse those folders through s3 browser in web? If you can do that, then you should be able to communicate with those folders as well... else there might be some permission issues.
Vaibhav
Anonymous
Not applicable
Author

Hi Vaibhav,
I got it working - it just meant putting the file path directory to the sub folders in the "key" area along with the file name
many thanks,
Niall K
Anonymous
Not applicable
Author

The documentation is lacking, and instructions by sanvaibhav is not working.
_AnonymousUser
Specialist III
Specialist III

S3 follows key structure instead of folders, this can be achieved by specifying the key strucuture along with bucket name in the ts3put component.
Eg : Bucket will be your bucket name 
And Key will hold your folder / subfolders, this can go through multiple levels.
Eg: Folder/SubFolder/Subfolder etc (All these are considered as Keys)

Thanks & Regards,
Srivignesh KN