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

292
Views
Can't delete file in Fine uploader

I used node js sever code to upload files to aws s3. And succeed in uploading files to s3 bucket. But now i can't delete uploaded files from s3 bucket. in node js code are parameters of req.query.bucket and req.query.key. I don't understand what is meaning of bucket and key,so i don't know how to set this values in delete file options. Can you help me ?

node js API:

export function deletefile(req, res) {
   deleteFile(req.query.bucket, req.query.key, function(err) {
        if (err) {
            console.log("Problem deleting file: " + err);
            res.status(500);
        }
        res.end();
    });
};

delete file option of fine uploader in client

 ........
   deleteFile: {
                enabled: true,
                method: "POST",
                forceConfirm: true,
                endpoint: "/rest-api/deletefile"

            },......
about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

According to documentation:

Each Amazon S3 object has data, a key, and metadata. Object key (or key name) uniquely identifies the object in a bucket. Object metadata is a set of name-value pairs. You can set object metadata at the time you upload it. After you upload the object, you cannot modify object metadata. The only way to modify object metadata is to make a copy of the object and set the metadata.[1]

So, you have to provide your bucket identifier, and your object identifier to delete given object from the bucket

about 4 years ago · Santiago Trujillo 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!