My files are uploaded to s3, this is done in the beforeSend function using ajax which returns some info about the file which then gets sent to the server and saved.
Currently after the beforeSend function has completed and has saved the file to s3 the same file is being sent to the server in the uploadFiles attribute, how can I remove that attribute (and the file) from the upload and add my own custom attributes to the upload function?
Uploading a file has the following parameters;