Differences

This shows you the differences between the selected revisions of the page.

2014-04-24 2014-06-12
missing method call brackets + one expression bracket too many (martin) using Add-Type cmdlet instead of Assembly.LoadFrom method (martin)
Line 164: Line 164:
<code powershell> <code powershell>
# Load WinSCP .NET assembly # Load WinSCP .NET assembly
-[Reflection.Assembly]::LoadFrom("WinSCPnet.dll") | Out-Null+Add-Type -Path "WinSCPnet.dll"
# Session.FileTransferProgress event handler # Session.FileTransferProgress event handler

Last modified: by martin