ASP Upload Challenge
Posted on 2004-11-28
To augment your average ASP file upload script I would like to use a Flash progress bar and I'm looking for some ideas. Any ideas, really. One thing that would seem to work is to have a flash movie with a SetInterval on frame one, with the setInterval function being getURL or loadVariables ("GetBytesLoadedEtc.asp"), so that I would keep getting new data to feed to a progressbar until using a clearInterval when getbytesloaded is equal to totalbytesinfile as dictated by the asp script.
If that were a problem I might have the asp script continually write to a server side text file its progress info and then the setInterval would be a loadvariables on that text file over and over again.
Does anybody know of a better method or have any suggestions about trying to do it this way?