Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FTP upload not as fast as FTP client
Message
From
12/04/2013 13:47:16
 
 
To
12/04/2013 12:54:12
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01570768
Message ID:
01570822
Views:
37
>>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.....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform