SlideShare a Scribd company logo
,i want delete file using fs and node js,express
compleate my code to access file path insied methoed removefiels
i can't access filepath this my problem
i share my code plese help me
}. {timestamps: true}); //creating a model from that schema and exporting the model to use it
in aap.js file module. exports = mongoose. model('MultipleFile', mulitipleFileSchema); onst
removefiles = async ( req, res ) {

More Related Content

DOCX
1) What are the five tenets of wireless LAN (802-11) troubleshooting- (1).docx
DOCX
1) Water soluble compounds have lower bioconcentration factors than do.docx
DOCX
1) Spatial Concepts of Location- Direction and Distance (absolute and.docx
DOCX
1) How are DNA and RNA similar and how are they different- 2) What are.docx
DOCX
1) Identify the following parts of a flower-2) Identify these flowers.docx
DOCX
1) design a clocked latch version using NOR gates2) Design the version.docx
DOCX
1) Given the following program- Count -0 While (Count !- 5)- Count - C.docx
DOCX
1) Explain at least two different things that can happen when a meteor.docx
1) What are the five tenets of wireless LAN (802-11) troubleshooting- (1).docx
1) Water soluble compounds have lower bioconcentration factors than do.docx
1) Spatial Concepts of Location- Direction and Distance (absolute and.docx
1) How are DNA and RNA similar and how are they different- 2) What are.docx
1) Identify the following parts of a flower-2) Identify these flowers.docx
1) design a clocked latch version using NOR gates2) Design the version.docx
1) Given the following program- Count -0 While (Count !- 5)- Count - C.docx
1) Explain at least two different things that can happen when a meteor.docx

More from Adamq0DJonese (20)

DOCX
1) Assume that you measure the OD of two E-coli cultures- culture A an.docx
DOCX
1) Define filtration- phagocytosis- pinocytosis- endocytosis and exocy.docx
DOCX
1) A pair of fair dice were tossed- Assuming X represents the sum of t.docx
DOCX
1 What are the advantages and disadvantages of globalization- Give exa.docx
DOCX
1 point- Regarding chronic disease- which of the following statements.docx
DOCX
1 point Which of the following is an example of a Type I error- An inn.docx
DOCX
1 Elonis v- United States- is the main case on 875(c)- What is the men.docx
DOCX
1 1- A government wants to provide student loans to students in their.docx
DOCX
1 a- The analysis of sedimentary rock determines- The size and s.docx
DOCX
0 points) Answer the questions on ListReferenceBased class (NOTE that.docx
DOCX
0 Conditional Format as Cell Cells Formatting - Table - Styles - Style.docx
DOCX
-Pyro-Diversity- means the many species that grow back after a fire re.docx
DOCX
-Q4-2- Fish are caught in 20 mins on average- Their inter-arrival time.docx
DOCX
-Define it -Who owns the business -Give and example of a business that.docx
DOCX
-begin{tabular}{l} Net absorbed by -- Earth system- -- 0-2- -- -hline.docx
DOCX
-7902-87.docx
DOCX
-8 pts- In a room there are many professors (P)- counselors (C) and st.docx
DOCX
-3- Testing of a student population reveals that 0-3- of the students.docx
DOCX
-144-.docx
DOCX
-0-5- Question 3- Draw a circuit using only AND-2- OR-2- and INV-NOT g.docx
1) Assume that you measure the OD of two E-coli cultures- culture A an.docx
1) Define filtration- phagocytosis- pinocytosis- endocytosis and exocy.docx
1) A pair of fair dice were tossed- Assuming X represents the sum of t.docx
1 What are the advantages and disadvantages of globalization- Give exa.docx
1 point- Regarding chronic disease- which of the following statements.docx
1 point Which of the following is an example of a Type I error- An inn.docx
1 Elonis v- United States- is the main case on 875(c)- What is the men.docx
1 1- A government wants to provide student loans to students in their.docx
1 a- The analysis of sedimentary rock determines- The size and s.docx
0 points) Answer the questions on ListReferenceBased class (NOTE that.docx
0 Conditional Format as Cell Cells Formatting - Table - Styles - Style.docx
-Pyro-Diversity- means the many species that grow back after a fire re.docx
-Q4-2- Fish are caught in 20 mins on average- Their inter-arrival time.docx
-Define it -Who owns the business -Give and example of a business that.docx
-begin{tabular}{l} Net absorbed by -- Earth system- -- 0-2- -- -hline.docx
-7902-87.docx
-8 pts- In a room there are many professors (P)- counselors (C) and st.docx
-3- Testing of a student population reveals that 0-3- of the students.docx
-144-.docx
-0-5- Question 3- Draw a circuit using only AND-2- OR-2- and INV-NOT g.docx
Ad

Recently uploaded (20)

PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
Computing-Curriculum for Schools in Ghana
PPTX
master seminar digital applications in india
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Cell Types and Its function , kingdom of life
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
Presentation on HIE in infants and its manifestations
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Computing-Curriculum for Schools in Ghana
master seminar digital applications in india
GDM (1) (1).pptx small presentation for students
Cell Types and Its function , kingdom of life
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Microbial diseases, their pathogenesis and prophylaxis
Presentation on HIE in infants and its manifestations
human mycosis Human fungal infections are called human mycosis..pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
VCE English Exam - Section C Student Revision Booklet
O5-L3 Freight Transport Ops (International) V1.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Microbial disease of the cardiovascular and lymphatic systems
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Final Presentation General Medicine 03-08-2024.pptx
Ad

-i want delete file using fs and node js-express compleate my code t.docx

  • 1. ,i want delete file using fs and node js,express compleate my code to access file path insied methoed removefiels i can't access filepath this my problem i share my code plese help me }. {timestamps: true}); //creating a model from that schema and exporting the model to use it in aap.js file module. exports = mongoose. model('MultipleFile', mulitipleFileSchema); onst removefiles = async ( req, res ) {