syncano-node icon indicating copy to clipboard operation
syncano-node copied to clipboard

Document how to get uploaded file name and content type

Open 23doors opened this issue 7 years ago • 2 comments

Filename and content type are saved as file buffer properties - filename and contentType.

E.g.

ctx.args.file.filename 
ctx.args.file.contentType

23doors avatar May 16 '18 14:05 23doors

ctx.args.file.size would also be helpful

// Edit:

ctx.args.file.length is available

Idered avatar May 16 '18 14:05 Idered

@mattlsp can you create some docs about how we are handling files in scripts?

mkucharz avatar Nov 21 '18 00:11 mkucharz