Differences

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

script_custom_listing_format_csv 2017-10-04 script_custom_listing_format_csv 2022-06-16 (current)
Line 10: Line 10:
<code powershell> <code powershell>
param ( param (
-    $sessionUrl = "sftp://user:mypassword;fingerprint=ssh-rsa-xx-xx-xx@example.com/",+    $sessionUrl = "sftp://user:mypassword;fingerprint=ssh-rsa-xxxxxxxxxxx...@example.com/",
    $remotePath = "/path",     $remotePath = "/path",
    $outFile = "listing.csv"     $outFile = "listing.csv"
Line 60: Line 60:
    exit 0     exit 0
} }
-catch [Exception]+catch
{ {
    Write-Host "Error: $($_.Exception.Message)"     Write-Host "Error: $($_.Exception.Message)"

Last modified: by martin