davito93
asked on
Getting Upload Speed of FTP Upload C#
Im trying to get the upload speed from my client to server.
try
{
Stream strm = ftp.GetRequestStream();
content = fs.Read(buff, 0, bufflength);
while (content != 0)
{
strm.Write(buff, 0, content);
transfered += content;
progressBar1.Value = transfered;
content = fs.Read(buff, 0, bufflength);
}
strm.Close();
fs.Close();
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.