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.
Printable View
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.
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