itognet Posted November 15, 2016 Posted November 15, 2016 I am trying the SendFile example, and modified it alittle to send 10 files of .txt, .xlsx, .pdf I can download all of them, one by one with UniSession.SendFile, it works fine. But I cannot do this: UniSession.SendFile('0.pdf'); UniSession.SendFile('1.pdf'); UniSession.SendFile('2.txt'); UniSession.SendFile('3.xlsx'); UniSession.SendFile('4.pdf'); UniSession.SendFile('5.pdf'); UniSession.SendFile('6.pdf'); UniSession.SendFile('8.pdf'); UniSession.SendFile('9.pdf'); Then it stop after 5 files. Is there at limit? I have tried multiple browser, same problem. I also tried sending the same file 10 times, Only the first 5 is being sent. But when I do the files one by one it works. Seems like a limit somewhere? Quote
Administrators Farshad Mohajeri Posted November 15, 2016 Administrators Posted November 15, 2016 Yes, There is an upper limit of 5 simultaneous downloads. Quote
i2u4ever Posted November 15, 2016 Posted November 15, 2016 MyApplication can SendFile more than 100 files. for N := 1 to 100 do begin x_interval := 500; if UniSession.Synchronize(x_interval) then begin // Refresh the client at "X_INTERVAL" intervals ProgressBar.Position := N; end; Sleep(x_interval); UniSession.SendFile(Files(N)); end; Quote
Jacek Posted February 11, 2021 Posted February 11, 2021 On 11/15/2016 at 4:34 AM, Farshad Mohajeri said: Yes, There is an upper limit of 5 simultaneous downloads. Hi Farshad, Is there any workaround of this limit? i2u4ever solution does't work for me Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.