Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Re: no method "ListDirectory"

Your example does not show, how do you initialize the `$session` variable.

no method "ListDirectory"

This does not work per

$directory = $session.ListDirectory("/home/martin/public_html")

Method invocation failed because [System.Boolean] does not contain a method named 'ListDirectory'.

I'm using WinSCP v.5.13.4 Build 8731