Re: ftp login problems when using .Net Assembly
My link specifically points to "Accessing Enumeration Values" section.
Hi Martin,
ok. Got it working. Thanks for the tip but unfortunately there's no way to include those values in vbscript but I was able to work around it by looking up theose values using a wsf script:
<job>
<reference object="WinSCP.Session" />
<script language="vbScript">
Set SessionOptions = WScript.CreateObject("WinSCP.SessionOptions")
WScript.Echo Protocol_Sftp ' gives 0
WScript.Echo Protocol_Ftp ' gives 2
WScript.Echo SynchronizationMode_Local ' gives 0
WScript.Echo SynchronizationMode_Remote 'gives 1
WScript.Echo SynchronizationMode_Both 'gives2
</script>
</job>