Hi Paul, I used the second options and it is solved my problem.
Thank you Elan > Hi Elan, > You could do a simple estimate based on 'file size' / 'connection > speed'. Thus, for a file of 1024 bytes (1Kb) you'll do something like > 1024/42 if the connection is of 56Kbps. I used 42 since 56k is the > downloading speed and uploading speed is approximately 75% of that. > However, this would imply that you know the speed of the connection. > Either the user enters it somewhere or you call some obscure Win32API > that would return the connection type selected by the user in "Internet > Options". Check the API Text Viewer or MSDN for more info. > > A better test (and more reliable) would be to upload a small text file > of 1kb to the target server as test and then deduce the upload speed. > You could show that phase to the user as "calculating upload speed" for > example. > > Paul > > > -----Original Message----- > > From: elan [mailto:[EMAIL PROTECTED] > > Sent: Friday, July 25, 2003 12:06 PM > > To: [EMAIL PROTECTED] > > Subject: [wdvltalk] Uploading time estimates > > > > > > Hi > > > > We are working on VB and ASP projects. In these projects > > we are uploading images/files to the server and we want to > > display the time estimations. But, here we are facing a > > problem to display the remaining time that will take to > > upload the remaining images/files. > > > > Please help me to solve this problem. > > > > Any ideas or helpful links are welcome. > > > > Thankyou in advance. > > > > Thanks, > > Elan > > > > "Everyone hears what you say. Friends listen to what you say. > > Best friends listen to what you don't say." > > --- Tim McGraw > > > > > > ____ . The WDVL Discussion List from WDVL.COM . ____ > > To Join wdvltalk, Send An Email To: > > mailto:[EMAIL PROTECTED] > > Send Your Posts > > To: [EMAIL PROTECTED] > > To set a personal password send an email to > > [EMAIL PROTECTED] with the words: "set WDVLTALK > > pw=yourpassword" in the body of the email. To change > > subscription settings to the wdvltalk digest version: > > http://wdvl.internet.com/WDVL/Forum/#sub > > > > ________________ http://www.wdvl.com _______________________ > > > > You are currently subscribed to wdvltalk as: > > [EMAIL PROTECTED] To unsubscribe send a blank email to > > %%email.unsub%% > > > > > > > ____ . The WDVL Discussion List from WDVL.COM . ____ > To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] > Send Your Posts To: [EMAIL PROTECTED] > To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. > To change subscription settings to the wdvltalk digest version: > http://wdvl.internet.com/WDVL/Forum/#sub > > ________________ http://www.wdvl.com _______________________ > > You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] > To unsubscribe send a blank email to %%email.unsub%% ____ � The WDVL Discussion List from WDVL.COM � ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
