R
R
Roman Koff2015-10-01 18:28:45
JSON
Roman Koff, 2015-10-01 18:28:45

How for Plupload to generate and transmit an error on the server side?

I am writing an engine for uploading files using the Plupload library. I can't figure out how (in what form) to give responses to the client about a file upload error. Errors are generated on the server side if the uploaded file is larger than a certain size or if the file extension is not allowed. I realized that plupload receives the result in the form of a JSON response according to the JSON RPC 2.0 protocol, but I just can’t figure out which particular line it needs to feed in the end. Who thread solved this problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question