Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

142
Views
Read .txt file from AWS S3 storage in ReactJS

I am trying to read text file from s3 storage in ReactJS. I have the s3 bucket link of the text file. However, I am not able to read the text file from the link. I have googled a lot about this, but everywhere people are reading the file locally and not from a link.

The link of the file looks like this:

https://bucketnmame.s3.amazonaws.com/folder1/folder2/file.txt

This link is being stored in database with NodeJS as backend. Would be great if someone helps me...

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Try this

fetch('https://bucketnmame.s3.amazonaws.com/folder1/folder2/file.txt')
    .then ((response) => response.text())
    .then (data => {
      console.log(data)
    });
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!