private void OnUploadFileProgress(FileUploadProgressEventArguments args) { if (FileUploadProgress != null) { FileUploadProgress(this, args); } }
private void client_FileUploadProgress(Client client, FileUploadProgressEventArguments args) { Status("Downloading " + args.FileName + " To " + args.DestinationPath + ", " + args.CurrentPosition * 100 / args.TotalBytes + "%..."); if (args.CurrentPosition >= args.TotalBytes) { Status("Downloading " + args.FileName + " Completed!"); } }