Beispiel #1
0
 private void OnUploadFileProgress(FileUploadProgressEventArguments args)
 {
     if (FileUploadProgress != null)
     {
         FileUploadProgress(this, args);
     }
 }
Beispiel #2
0
        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!");
            }
        }