Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to get uploaded file name and content type #236

Open
23doors opened this issue May 16, 2018 · 2 comments
Open

Document how to get uploaded file name and content type #236

23doors opened this issue May 16, 2018 · 2 comments
Assignees
Labels

Comments

@23doors
Copy link
Member

23doors commented May 16, 2018

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

E.g.

ctx.args.file.filename 
ctx.args.file.contentType
@23doors 23doors added the DOCS label May 16, 2018
@Idered
Copy link
Member

Idered commented May 16, 2018

ctx.args.file.size would also be helpful

// Edit:

ctx.args.file.length is available

@mkucharz
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants