"With a few if statements you could convert this function of mine from FileVIP to update a MySQL database table row with the current amount transferred, left to trans., total trans., etc etc."
Thus allowing you to track bandwidth usage through the function.