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

135
Views
Lea el archivo .txt del almacenamiento de AWS S3 en ReactJS

Estoy tratando de leer el archivo de texto del almacenamiento s3 en ReactJS. Tengo el enlace del depósito s3 del archivo de texto. Sin embargo, no puedo leer el archivo de texto del enlace. He buscado en Google mucho sobre esto, pero en todas partes la gente lee el archivo localmente y no desde un enlace.

El enlace del archivo se ve así:

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

Este enlace se almacena en la base de datos con NodeJS como backend. Sería genial si alguien me ayuda...

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

0

Prueba esto

 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!