Downloadable Download Speed Checking
Anyone have ideas on a way to push something like this out to a user base? I need something small that can maybe run with a start batch file or something that can pipe out to a txt file on a server or stored somewhere locally atleast.
Any ideas?
AI Summary
8 Comments
well this is what we have now.... lol not really anything to do with what im doing... but
echo %time% > D:\V\NAS\DVDBUILD\D_SPEED1.TXT
FOR /F "tokens=1,2,3 delims=:" %%A IN (D:\V\NAS\DVDBUILD\D_SPEED1.TXT) DO (
SET CHOUR=%%A
SET CMIN=%%B
SET CSEC=%%C
)
COPY S:\NAS\2004_U4\SPEEDTST.TXT,D:\V\NAS\DVDBUILD\SPEEDTST.TXT
echo %time% > D:\V\NAS\DVDBUILD\D_SPEED2.TXT
FOR /F "tokens=1,2,3 delims=:" %%A IN (D:\V\NAS\DVDBUILD\D_SPEED2.TXT) DO (
SET CHOUR2=%%A
SET CMIN2=%%B
SET CSEC2=%%C
)
SET /A CHOUR=CHOUR*60
SET /A CHOUR=CHOUR*60
SET /A CMIN=CMIN*60
SET /A STARTTIME=CHOUR+CMIN+CSEC
SET /A CHOUR2=CHOUR2*60
SET /A CHOUR2=CHOUR2*60
SET /A CMIN2=CMIN2*60
SET /A ENDTIME=CHOUR2+CMIN2+CSEC2
SET /A DLTIME=ENDTIME-STARTTIME
YOu want stats on speeds of downloaded items?
yeah more or less.... i need stats on a update that we are sending out to useres in the field.
ohhh one particular file, that makes it easier
hmm, thats a tough one. my first couple of thoughst are that
t might be server specific, like you'd have to develop a plug in for a server like IIS (or they're might actually be one already) or Apache, that would take care of requests, i know its possible with IIS
or do like a hack program to take a request on a certain port that would serve the file
im not sure how to profile speed of a connection
yeah im more or less dealing with a group of around 350 with differing connections. I want to know when the user is downloading the updates, BASED on their connection at the begining of the dlownload, approx how long it would take to do so. Throwing around ideas here and we are trying to do something through a batch file or script, but im not sure where to go with it.
well logging the initial timestamp of the file request is easy, just make a webpage that logs the access for the file exclusively, as far as the connectivity, i have no idea
yeah, that's a good way of doing it. have your script output the time the file was started downloading, and then the time it finished
now the next step is the really tricky one: subtract the time it started from the time it ended to get the elapsed time.
by