Results 1 to 2 of 2

Thread: File transfer with progress bar, Please HELP!!!!

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Dec 1999
    Location
    Columbus, OH, USA
    Posts
    16

    Post

    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.

  2. #2
    Addicted Member Razzle's Avatar
    Join Date
    Jan 2000
    Location
    Berlin, Germany
    Posts
    161

    Post

    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

Posting Permissions

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



Click Here to Expand Forum to Full Width