title: wscript object not creating in masstransit
body: <p>I am trying to perform an VBScript action while receiving email in the Masstransit application. The below code is the upload action. This code is working correctly while running outside on the Masstransit. But it is failing in masstransit in WScript createobject line itself.</p>
  <h1>This is my code</h1>
  <pre><code>Option Explicit
  ' Setup session options
  Dim sessionOptions, Protocol_Sftp
  Set sessionOptions = WScript.CreateObject(&quot;WinSCP.SessionOptions&quot;)
  With sessionOptions
      .Protocol = Protocol_Sftp
      .HostName = &quot;xxxxxx.com&quot;
      .UserName = &quot;xxxxxxxxxxxxx&quot;
      .Password = &quot;xxxxxxxxxxxxxx&quot;
      .SshHostKeyFingerprint = &quot;ssh-rsa 1024 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&quot;
  End With
  Dim session
  Set session = WScript.CreateObject(&quot;WinSCP.Session&quot;)
  ' Connect
  session.Open sessionOptions
  ' Upload files
  Dim transferOptions, TransferMode_Binary
  Set transferOptions = WScript.CreateObject(&quot;WinSCP.TransferOptions&quot;)
  transferOptions.TransferMode = TransferMode_Binary
  Dim transferResult
  Set transferResult = session.PutFiles(&quot;D:\testing-file.txt&quot;, &quot;/&quot;, False, transferOptions)
  ' Throw on any error
  transferResult.Check
  ' Print results
  Dim transfer
  For Each transfer In transferResult.Transfers
      WScript.Echo &quot;Upload of &quot; &amp; transfer.FileName &amp; &quot; succeeded&quot;
  Next
  ' Disconnect, clean up
  session.Dispose
  </code></pre>
  <p>I am receiving the below error:</p>
  <blockquote>
  <p>Action script error: script error (vb_folderfiles.vbs, position 5.1):
  microsoft vbscript runtime error object required: “WScript”
  (0x800a01a8)</p>
  </blockquote>
  <p>Ultimately, I tried with WScript and without WScript. Both are not working in the masstransit application. It is not creating the object.</p>
  <p>But, this code is perfectly working outside of Masstransit. Please show some light on this.</p>