Git Product home page Git Product logo

Comments (6)

madhu131313 avatar madhu131313 commented on June 3, 2024 1

I have edited the source here
https://github.com/Fausto95/aws-s3/blob/master/src/S3Client.ts#L18
as mentioned above to fix that. Try installing aws-s3-pro, it will be fixed.
Else run a build from the changed source and use the build.

Can you tell me what's wrong in using aws-s3-pro because I have installed and working fine.

from aws-s3.

Fernandocgomez avatar Fernandocgomez commented on June 3, 2024 1

Hello man!

Thank you so much for taking the time to explain that to me.

I found out that I was still using the old version (aws-s3) and not the new one (aws-s3-pro)

Everything works fine.

Thank you again,

from aws-s3.

madhu131313 avatar madhu131313 commented on June 3, 2024

Please use file.name for getting extension.
const fileExtension: string = file.name.split(".")[1] ; //file.type.split('/')[1];

from aws-s3.

madhu131313 avatar madhu131313 commented on June 3, 2024

I have created another npm package https://www.npmjs.com/package/aws-s3-pro as our project needs a quick fix for the above issue

from aws-s3.

Fernandocgomez avatar Fernandocgomez commented on June 3, 2024

I am still having the same issue even when I installed the new version.

Can you tell us how to fix this with the new update?

Thanks

from aws-s3.

Fernandocgomez avatar Fernandocgomez commented on June 3, 2024

Please use file.name for getting extension.
const fileExtension: string = file.name.split(".")[1] ; //file.type.split('/')[1];

Also, I don't understand this fix here. If you don't mind can you explain it in more detail? Thank :D

from aws-s3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.