How can pass parameter in function below and get it in method upload?:
frappe.upload.make({
parent: $wrapper,
args: {
method: ‘erpnext.example.doctype.example.upload’
},
sample_url: “e.g. http://example.com/somefile.csv”,
callback: function(attachment, r) {
}