Quote:
Can someone help me please.
Basically, no. The problem is that we have no idea what your
uploadexcl
method is doing, but the "upload" part implies the internet is involved. What you are doing is sending a serial stream of file to your server, one after the other, and that process can't be speeded up if the upload is taking the entire internet connection upload bandwidth - as it will by default. And upload speeds are normally a lot, lot slower that download: I get 40Mbps download, and 8Mbps upload. If your excel files are of a significant size (and that will depend on the row and cell count, as well as the cell content) then they could be taking a significant amount of time each.
Check the file sizes in bytes, check the upload speed of your connection, divide one by the other-times-10 (8 bits per byte, plus some for overhead) and you'll have the seconds per file. Then use the Stopwatch class to check how long uploadexcl
takes for each file. If the numbers are close, you can't speed the process up except by improving your internet connection.