I want to have a statusbar, but I can't show the transferred bytes.
Can anyone help me?
internal void BytesTransferred(object obj, BytesTransferredEventArgs args)
{
listBox2.Items.Add(args.ByteCount);
}
public delegate void BytesTransferredHandler(object sender, BytesTransferredEventArgs e);
void connecting()
{
ftpConnection1.BytesTransferred += new BytesTransferredHandler(BytesTransferred);
ftpConnection1.Connect();
...
}
Greetz
Scheddy