Differences
This shows you the differences between the selected revisions of the page.
| 2012-03-20 | 2012-03-21 | ||
| option explicit, rm debug code (martin) | dispose in vbscript and jscript (martin) | ||
| Line 294: | Line 294: | ||
| WScript.Echo("File " + remotePath + " does not exist yet"); | WScript.Echo("File " + remotePath + " does not exist yet"); | ||
| } | } | ||
| + | |||
| + | // Disconnect, clean up | ||
| + | session.Dispose(); | ||
| </script> | </script> | ||
| Line 390: | Line 393: | ||
| WScript.Echo "File " & remotePath & " does not exist yet" | WScript.Echo "File " & remotePath & " does not exist yet" | ||
| End If | End If | ||
| + | |||
| + | ' Disconnect, clean up | ||
| + | session.Dispose | ||
| </script> | </script> | ||