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



Hi, I am still having this issue, does anyone know a fix?



But got error

Method invocation failed because [WinSCP.Session] does not contain a method named 'SessionLogPath'.

Attribute Error with FtpUseMlsd enabled


I copied over the suggested script for powershell to upload a list of files. I attempted to do this, but am getting an overwrite error.

So, I have tried to delete the files first like so

foreach ($line in $lines)
    Write-Host "Deleting $line ..."

But it throws

{WinSCP.SessionRemoteException: Can't get attributes of file

Even when specifying

As recommended.

I would like to attach a log, but do not know how to produce one from the .net powershell script. Please inform me how and i am happy to provide it.