Skip to main content
0 online

Downloadable Download Speed Checking

rocksupastar by rocksupastarFounder · May 18, 2005 · 57 views

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?

To contribute to the discussion, please log in.

8 Comments

rocksupastar #2 rocksupastarFounder

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

yay #1 yayOG 2004

YOu want stats on speeds of downloaded items?

rocksupastar #1.1 rocksupastarFounder

yeah more or less.... i need stats on a update that we are sending out to useres in the field.

yay #1.1.1 yayOG 2004

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

rocksupastar #1.1.1.1 rocksupastarFounder

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.

yay yayOG 2004

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

iwz iwz

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

deanh77 deanh77Founder

now the next step is the really tricky one: subtract the time it started from the time it ended to get the elapsed time.

Welcome Back to eZabel

It's been a while. Here's what's new.

eZabel Lore

A complete history of our community — stats, Hall of Fame, legendary threads, and more.

View the Lore →

Curator Commentary

Look for the blue speech bubbles on threads, profiles, and news — notes and context from iwz.

Everything Preserved

All 225,969 pieces of content from 2000–2014 are here — forums, messages, journals, photos, polls, and events.