on 07-01-2015 1:13 AM
In our app (IBP) we have to use sap.ui.unified.FileUploader in order to upload (sometimes) really big files, which takes more than 10-15 minutes. How do we handle this?
Any suggestions?
server side or client side?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
do you have some issues or just trying to be proactive?
server side timeout is on sicf node level AFAIR.
client side - xmlhhtprequest has timeout property
I think I stated in the beginning that I have an actual problem. I'm keeping my proactiveness for more pleasant and creative things.
What does xmlhhtprequest has to do with my question? I said, I'm using SAPUI5 FileUploader control for uploading. It has no timeout property. If it uses xmlhhtprequest internally or not, is irrelevant, because I can't control it. Are you suggesting not to use FleUploader control? I would love to, but unfortunately that is not an option ...
I was asking about some more flexible approach, like probably uploading the file on chunks or resuming the upload after temporary connection loss.
Increasing the timeout will solve the problem partially, because the upload can fail because of many different reasons (not just timeout) and it's good to be able to avoid upload failure after 15 minutes staring at the spinning wheel ...
resuming upload is a feature which server should implement. i did some googling, there are libriaries to handle, like
it has instructions for server side too. so i see the case for SICF service there.
sorry, that is a pretty advanced scenario, i honestly don't have much practical experience
User | Count |
---|---|
84 | |
9 | |
9 | |
8 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.