Maybe I did not find the correct entries but I find the radupload documentation still lacks details about how to handle the files server side.
My requirement is the following. I need to :
- upload a file (csv for example)
- import the file content to my database
Where is the correct place to handle the uploaded file. It looks like it's in SaveChunkData.
Here is my server side code:
.SaveChunkData(filePath, position, buffer, contentLength,
// Checks if this is the last chunk of the file
//if the file is successfully uploaded
// Logic that will deal with the uploaded files
// TODO: Add your logic here
How do I send back to the client that my file was imported correctly or not?
How do I handle that result correctly on the client?
In case my file processing takes some time, how can I display on the client that the server is processing the file, eventually with progres notification?
Please, explain me how to do and then add it to the documentation...
That would help me a lot.
Thank you for your help,