September 30th, 2013, 04:41 AM
Update progress bar with CGI in C
Trying to upload file with cgi in C and show file uploading with progress bar. Uploading file with cgi works fine, but have problem with refreshing progress bar control.
This is client html code:
In cgi script trying to upload file and with every byte read refresh progress bar value:
Server sends new progress bar value to client, but when there is to much bytes of uploading file, more then 10kB, client cant render progress bar, and get stuck with: CGI Timeout The specified CGI application exceeded the allowed time for processing. The server has deleted the process.
Any suggestions! Maybe some other way to deal with this stuff?
September 30th, 2013, 11:21 AM
Sounds like an issue with your http server configuration. You need to configure your http server to increase the timeout for CGI scripts.
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
October 3rd, 2013, 06:17 AM
Maybe it is problem because im trying to update progress bar with every byte read by server in loop. Is it too much