Differences

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

2016-03-31 2016-04-01
installing the extension (martin) WINSCP_PATH (martin)
Line 131: Line 131:
{ {
    # Load WinSCP .NET assembly     # Load WinSCP .NET assembly
-    Add-Type -Path "WinSCPnet.dll"+    $assemblyPath = if ($env:WINSCP_PATH) { $env:WINSCP_PATH } else { $PSScriptRoot } 
 +····Add-Type -Path (Join-Path $assemblyPath "WinSCPnet.dll")
    # Setup session options from URL     # Setup session options from URL

Last modified: by martin