Post a reply

Options
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)

Options

Topic review

martin

Re: addrawconfiguration what is the correct syntax to use

No. I've forgot that you ask about VB(.NET). I've though it's C#.
gnicholson123@live.com

Re: addrawconfiguration what is the correct syntax to use

Thanks martin,

Do I need the ; at the end of the line?

GN
gnicholson123@live.com

addrawconfiguration what is the correct syntax to use

Hi All
I have a program that has worked well for a number of years but the FTP server has changed and I now need to add an option. By using the GUI I have worked out I need to change the “Preserver timestamp” from enabled to disabled, I removing the tick from the check box in the GUI and could then manually transfer a file. From reading the documentation and guides it look like I can change the setting using the “addrawconfiguration” to the session but I have not been able to work out the correct syntax to use.

Program written in VB using the .net DLL (WinSCPnet.dll)
WinSCP upgraded to 5.17.6
Automation package updated to the same version

I have tried the following but I am not sure if it is correct
session.addrawconfiguration("Interface\CopyParam\PreserverTime", "0")


I would be grateful if anybody can help with the correct syntax

Thanks
Graham