Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FTP upload not as fast as FTP client
Message
De
12/04/2013 13:47:16
 
 
À
12/04/2013 12:54:12
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01570768
Message ID:
01570822
Vues:
36
>>It may not necessarily be the size of the buffer. You are updating the status bar with every write, which may be a relatively slow operation. A larger buffer results in less iterations of writes which in turn means less status bar updates.
>
>As mentioned in the other message, the buffer increased to 256 k made it almost instant.

I think Rob's point was that increasing the buffer size from 4Kb to 256kb would mean your loop count is reduced by a factor of 64.
But is it the loStream.Write() or the loProgressBar.ShowProgress() which is taking the time.....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform