Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2007
    Location
    Sydney, Australia
    Posts
    1,546

    Need ideas to integrate a type of Download Counter into my app

    Hi everyone,

    I'm trying to figure out a way to integrate a type of download-counter into my application.

    I don't need to actually count the number of downloads nor measure bandwidth-useage like a standard download-counter ... but rather ... what I'm seeking to do, is to get my application to measure the size of files downloaded with it, and to keep a tally of the number of megabytes downloaded with it.

    Originally, I was figuring on getting my application to do a search for downloaded-files via an Input.GetText function followed by a File.Find and File.GetAttributes function and then read the results into memory and upload them to a remote server.

    However, this seems clumsy. It would be slow if the application had to search all of the user's hard-drives to find the downloaded-file, and I can envisage other problems (ie. what if the user saves the downloaded-file under a different name to what they entered in my application's Input Box?)

    So instead, I started to think along the lines of getting my application to communicate with some kind of PHP file which could measure the size of the downloaded-files. But my knowledge of PHP is pretty sketchy and I'm having a hard time trying to envisage if this is even possible???

    Does anyone have some ideas to toss around?

    PS.
    I should probably add, that my application uses the the Web-Object together with an InputBox, to do the downloading ... so it goes through the IE-Explorer interface. It does not use the more direct HTTP.Download function.
    Last edited by mystica; 05-27-2009 at 12:14 AM.

  2. #2
    Join Date
    May 2007
    Location
    Sydney, Australia
    Posts
    1,546
    I'm guessing that a PHP solution for this would be pretty complex, yeh? Will try to find a solution on a dedicated PHP forum ... but before I attempt to do so, can anyone tell me if a PHP solution for this would even be possible???

Similar Threads

  1. An app to download Fileshare files
    By paul186 in forum AutoPlay Media Studio 7.5
    Replies: 0
    Last Post: 01-01-2009, 04:48 PM
  2. how to close the active app before the download
    By pedro arzac in forum TrueUpdate 2.0
    Replies: 5
    Last Post: 08-30-2006, 01:16 PM
  3. is it possible to register a file type through the app?
    By shanhai in forum AutoPlay Media Studio 5.0
    Replies: 3
    Last Post: 06-15-2005, 02:37 AM
  4. HOWTO: Download and Install Files from the Web
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-23-2002, 01:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts