Details
Assignee
UnassignedUnassignedReporter
Zac SpitzerZac SpitzerLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Priority
New
Details
Details
Assignee
Unassigned
UnassignedReporter
Zac Spitzer
Zac SpitzerLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Priority
Created 13 January 2023 at 11:08
Updated 13 January 2023 at 11:11
rather than make the form argument too complicated, lets add an additional argument
files
, which supports an array of structs,following the pattern of https://docs.lucee.org/reference/tags/httpparam.html type=”file”
_internalRequest( template: "/test/upload.cfm", method: "POST", // throw if files defined with content and not POST form: { name: "John Citizen", role: "crash test dummy" }, files: { intro: { file: "/path/tofile.text", mimeType: "plain/text" }, resume: { file: "/path/resume.doc", mimeType: "application/msword" } } // automatically sets the enctype to 'multipart/form-data' ? )