Re: Measuring bandwidth used per user

2010-02-03 Thread derek felsher

 I need to measure bandwidth used because this is how I
 charge. Uploading is fine to measure, but is it possible
 to measure how many times an attachment was successfully
 accessed (either opened in browser or downloaded)?

I would advise parsing the web server logs for this information for two
reasons:

1) It will be more accurate and give you exact byte counts for the files
that were accessed.

2) It will not tie up ColdFusion threads as using CFCONTENT would to serve
them up.  If you have several people downloading large files at once over
relatively slow connections there is a chance that all of the available CF
threads could be ties up and the site would appear to become unresponsive to
others.


-Justin

Cool,

Justin is this possible from client side, I do not own the  server. (Some 
sample code will save me days of homework.)

Is this also possible for measuring bandwidth from a cfmail execution.(Faced 
with same predicament).

If you could provide the code , I'll give 5points of my revenue. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330376
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Measuring bandwidth used per user

2010-02-03 Thread Justin Scott

 Justin is this possible from client side, I do not own
 the server.

If you wanted to parse the web server logs you would need access to the
files on the server and they could be read and parsed using CFFILE.  Get
with your hosting company to see if they can get you access to that
information.

 Is this also possible for measuring bandwidth from a cfmail
 execution.(Faced with same predicament).

Unfortunately not, but you could use CFDIRECTORY to get the file size of the
file you're sending before you call the CFMAIL tag and log it somewhere for
tracking purposes.  CFMAIL sends the message via SMTP so it wouldn't be in
the web server logs.


-Justin



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330382
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Measuring bandwidth used per user

2010-02-02 Thread Justin Scott

 I need to measure bandwidth used because this is how I
 charge. Uploading is fine to measure, but is it possible
 to measure how many times an attachment was successfully
 accessed (either opened in browser or downloaded)?

I would advise parsing the web server logs for this information for two
reasons:

1) It will be more accurate and give you exact byte counts for the files
that were accessed.

2) It will not tie up ColdFusion threads as using CFCONTENT would to serve
them up.  If you have several people downloading large files at once over
relatively slow connections there is a chance that all of the available CF
threads could be ties up and the site would appear to become unresponsive to
others.


-Justin



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330335
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Measuring bandwidth used per user

2010-02-02 Thread derek felsher

 I need to measure bandwidth used because this is how I
 charge. Uploading is fine to measure, but is it possible
 to measure how many times an attachment was successfully
 accessed (either opened in browser or downloaded)?

I would advise parsing the web server logs for this information for two
reasons:

1) It will be more accurate and give you exact byte counts for the files
that were accessed.

2) It will not tie up ColdFusion threads as using CFCONTENT would to serve
them up.  If you have several people downloading large files at once over
relatively slow connections there is a chance that all of the available CF
threads could be ties up and the site would appear to become unresponsive to
others.


-Justin

Cool,

Justin is this possible from client side, I do not own the  server. (Some 
sample code will save me days of homework.)

Is this also possible for measuring bandwidth from a cfmail execution.(Faced 
with same predicament).

If you could provide the code , I'll give 5points of my revenue. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330375
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Measuring bandwidth used per user

2010-02-01 Thread derekf

Greetings everybody.

I have a website that allows people to upload and access attachments.

 Naturally they need to access these once uploaded. I need to measure bandwidth 
used because this is how I charge. Uploading is fine to measure, but is it 
possible to measure how many times an attachment was succesfully accessed 
(either opened in browser or downloaded)?

Cheers
Derek
Sent via my BlackBerry from Vodacom - let your email find you!

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330329
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Measuring bandwidth used per user

2010-02-01 Thread brad

 is it possible to measure how many times an attachment was succesfully 
 accessed (either opened in browser or downloaded)?

If you serve up the files via a .cfm template and cfcontent, you can log
every time they download something.  That won't detect if they cancel
the download though.

~Brad



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330330
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4