Hi Natalia, Is the FlowFile transferred to the success or the failure relationship from PutS3Object?
In general, you need to use dirtag/subdirtag /${filename}, so no leading slash. Leading slash results in a directory called '/' on S3. Regards, Peter Turcsanyi On Mon, May 16, 2022 at 12:46 PM Fill, Natalia <natalia.f...@lgim.com> wrote: > Hi Nifi Team, > > I am working on a solution to put file into S3 server. I used PutS3Object > and managed to put some files into a bucket, but it failed to put files > into specific directories on S3. No errors, but I don't see the files in > the bucket. I used the following format for object key: > /dirtag/subdirtag /${filename}. The tags do exist on S3. > > Does anyone have any suggestions how to put S3 object into specific > directory and not just on top level in a bucket. > > Thanks > Natalia > This e-mail (and any attachments) may contain privileged and/or > confidential information which may be protected by copyright or other > intellectual property rights. If you are not the intended recipient please > do not disclose, copy, distribute, disseminate or take any action in > reliance on it. If you have received this e-mail in error please reply to > the sender and then immediately delete it (including, any attachments). > Should you wish to communicate with us by e-mail we cannot guarantee the > security of any data outside our own computer systems or that any e-mail > will be virus free. > > Any information contained in this e-mail may be subject to applicable > terms and conditions and must not be construed as giving investment advice > within or outside the United Kingdom or the Republic of Ireland. > > Telephone conversations and calls via other telecommunication facilities > may be recorded, including to comply with our legal and/or regulatory > requirements and/or to monitor the quality of our service. For information > about how we use your personal data, including your legal rights, please > refer to our privacy policy at: > www.legalandgeneral.com/institutional/privacy-policy/. > > Legal & General Investment Management Limited (Company number 02091894), > LGIM Real Assets (Operator) Limited (Company number 05522016), LGIM > International Limited (Company number 07716001), Legal & General (Unit > Trust Managers) Limited (Company number 01009418), GO ETF Solutions LLP > (Company number OC329482) and LGIM Corporate Director Limited (Company > number 07105051) are each authorised and regulated by the Financial Conduct > Authority. All are registered in England & Wales with a registered office > at One Coleman Street, London, EC2R 5AA. > > Legal and General Assurance (Pensions Management) Limited (Company number > 01006112) is authorised by the Prudential Regulation Authority and > regulated by the Financial Conduct Authority and the Prudential Regulation > Authority. It is registered in England & Wales with a registered office at > One Coleman Street, London, EC2R 5AA. > > Legal & General Property Limited (Registration number 02091897) is > authorised and regulated by the Financial Conduct Authority for insurance > mediation activities. It is registered in England & Wales with a registered > office at One Coleman Street, London, EC2R 5AA. > > LGIM Managers (Europe) Limited is authorised and regulated by the Central > Bank of Ireland (Reference No C173733). It is registered in the Republic of > Ireland (Number 609677) with its principal business address at 33/34 Sir > John Rogerson's Quay, Dublin 2, D02 XK09. > > The ultimate parent company is Legal & General Group PLC (Company number > 01417162) which is registered in England & Wales and has a registered > office at One Coleman Street, London, EC2R 5AA. > > ________________________________________________________________________ > **** This email has come from the internet and has been scanned for all > viruses and potentially offensive content by Messagelabs on behalf of Legal > & General ****