How to disable tmp file when runs WinSCP DLL in VB Script
I used the VB Script to call the WinSCP DLL.
The script is the same as the example posted in this web site.
However, the script generated a tmp file under "C:\Users\<username>\AppData\Local\Temp\" folder every time when the script was executed.
The content of the tmp file is below.
Can someone know how to disable the tmp file or delete it after script finished?
<?xml version="1.0" encoding="UTF-8"?>
<session xmlns="https://winscp.net/schema/session/1.0" name="monitor@TRANSFER.QGS.QLD.GOV.AU" start="2015-06-04T23:04:25.228Z">
<group name="open -hostkey="ssh-rsa 2048 a2:b5:f5:68:18:46:08:38:4d:e2:ad:86:59:f5:8f:66" -timeout=15 "sftp://monitor:123456@TRANSFER.QGS.QLD.GOV.AU"" start="2015-06-04T23:04:25.511Z">
</group>
<group name="stat -- "st11.txt"" start="2015-06-04T23:04:25.708Z">
<stat>
<filename value="/st11.txt" />
<file>
<type value="-" />
<size value="0" />
<modification value="2014-06-01T14:00:00.000Z" />
<permissions value="rw-r--r--" />
</file>
<result success="true" />
</stat>
</group>
<group name="exit" start="2015-06-04T23:04:25.846Z">
</group>
</session>
The script is the same as the example posted in this web site.
However, the script generated a tmp file under "C:\Users\<username>\AppData\Local\Temp\" folder every time when the script was executed.
The content of the tmp file is below.
Can someone know how to disable the tmp file or delete it after script finished?
<?xml version="1.0" encoding="UTF-8"?>
<session xmlns="https://winscp.net/schema/session/1.0" name="monitor@TRANSFER.QGS.QLD.GOV.AU" start="2015-06-04T23:04:25.228Z">
<group name="open -hostkey="ssh-rsa 2048 a2:b5:f5:68:18:46:08:38:4d:e2:ad:86:59:f5:8f:66" -timeout=15 "sftp://monitor:123456@TRANSFER.QGS.QLD.GOV.AU"" start="2015-06-04T23:04:25.511Z">
</group>
<group name="stat -- "st11.txt"" start="2015-06-04T23:04:25.708Z">
<stat>
<filename value="/st11.txt" />
<file>
<type value="-" />
<size value="0" />
<modification value="2014-06-01T14:00:00.000Z" />
<permissions value="rw-r--r--" />
</file>
<result success="true" />
</stat>
</group>
<group name="exit" start="2015-06-04T23:04:25.846Z">
</group>
</session>