tomohulk / WinSCP

WinSCP PowerShell Wrapper Module
GNU General Public License v3.0
153 stars 30 forks source link

How to disable transfer resume support state? #132

Closed wshyang closed 4 years ago

wshyang commented 4 years ago

Hi Sir,

This is not so much an issue report per se, but it is not very clear how to create the appropriate TransferResumeSupportState to set transfer resume state to "Off".

I am able to set the state to be default by creating a default object using New-Object -type WinSCP.TransferResumeSupportState

However how can I create a "off" object?

tomohulk commented 4 years ago

https://github.com/dotps1/WinSCP/wiki/New-WinSCPTransferResumeSupport

see the -State parameter

New-WinSCPTransferResumeSupport -State Off