Differences
This shows you the differences between the selected revisions of the page.
2012-01-04 | 2012-01-04 | ||
library_transfereventargs (martin) | TransferEventArgs (martin) | ||
Line 62: | Line 62: | ||
transferOptions.TransferMode = TransferMode.Binary; | transferOptions.TransferMode = TransferMode.Binary; | ||
- | OperationResult<TransferArgs> transferResult; | + | OperationResult<TransferEventArgs> transferResult; |
transferResult = session.PutFiles(@"d:\toupload\*", "/home/user/", false, transferOptions); | transferResult = session.PutFiles(@"d:\toupload\*", "/home/user/", false, transferOptions); | ||
Line 69: | Line 69: | ||
// Print results | // Print results | ||
- | foreach (TransferArgs transfer in transferResult.Operations) | + | foreach (TransferEventArgs transfer in transferResult.Operations) |
{ | { | ||
if (transfer.Error == null) | if (transfer.Error == null) |