Topic "ResumeSupport Option in VBScript"

Author Message
nyhack44
[View user's profile]

Joined: 2014-10-09
Posts: 2
Hi,

Does this option exist for TransferOptions VBScript? I am trying to do something like the following:


Dim transferOptions
Set transferOptions = WScript.CreateObject("WinSCP.TransferOptions")
With transferOptions
.TransferMode = TransferMode_Binary
.ResumeSupport = TransferResumeSupportState_Off
.PreserveTimestamp = false
End With


I just can't figure out what the syntax is, and I wasn't able to find anything in the tutorials to do this.

Thanks,

Mark
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
It should be like:

.ResumeSupport.State = TransferResumeSupportState_Off

(not sure it's that's a correct VBScript syntax though).

See https://winscp.net/eng/docs/library_transferresumesupport
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License