Google News
logo
Express.js - Interview Questions
What are the methods that you can call when the Formidable.File objects arise giving the information about the uploaded file?
We can call the following methods in such cases -
 
File.name : the name of the file

File.path : the path to which the file is written

File.size : the size of the file in bytes

File.type : the file's MIME-type.
Advertisement