When run, it generated...

Break On
Dim $RC
$RC = SetOption(
ERROR : unknown command [Explicit]!
Script: D:\ECG\Kix\source\SFTP4.kix
Line : 4

After that line was commented out, it generated...

Break On
Dim $RC
Error 0: The operation completed successfully.

...so yes, I have no problem creating the object. I can do an operation like this: $MySite.Protocol = "SFTP"

But I can't assign a value to something like this:
$MySite.Option("AutoCloseDelay")
But it's easy in vbs:
MySite.Option("AutoCloseDelay") = 5

Thanks.


Edited by n1st (2007-11-29 02:35 AM)