.tmp files created in Temp folder by Session

Advertisement

Lukas123
Guest

.tmp files created in Temp folder by Session

Hi,

i have a Problem with .tmp files that gets created when i call Session.Open(), this file gets updated when i call the Session.PutFiles Function.

That is a Problem, my tempfolder was full after 3 months with 65k files and i could not delete them because the process that created them is a Long living one.

Is there a way i can block the creation of These temp Files?


Session = new Session() {
                ExecutablePath = executablePath,
                DebugLogPath = null,
                SessionLogPath = null,
                DebugLogLevel = 0,
            };
            Session.Open(SessionOptions);

Example Name of the Files created: wscp3CFC.0256F2AE.tmp

Cheers
Lukas

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,442
Location:
Prague, Czechia

Re: .tmp files created in Temp folder by Session

No you cannot. Make sure you dispose the Session object, once it's no longer needed.

Reply with quote

Advertisement

You can post new topics in this forum