Click to See Complete Forum and Search --> : File transfer with progress bar, Please HELP!!!!
Mohammed
Feb 5th, 2000, 12:10 AM
Please I need the code to how transfer any type of file via Internet, and provide the user with a pregoress bar.
Thank you in advance.
Razzle
Feb 5th, 2000, 07:45 PM
ok, first send the size of the file you want to transfer. Then you can calculate the progress of the file with the received bytes and the filesize.
progbar1.value = (100 * bytesrecieved) / filesize
Same for the client.
progbar1.value = (100 * bytessent) / filesize
------------------
Razzle
ICQ#: 31429438
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.