Topic "Keep temporary directories together in separate directory"

Author Message
TravisCarden
[View user's profile]

Joined: 2011-04-07
Posts: 4
Location: United States
I use CCleaner to keep my machine clean and well-optimized, and one of the things it does is clear out my temporary directories. When it does so, it breaks any open WinSCP sessions because they store state data in sub-folders of the temp directory. CCleaner allows you to exclude directories, but not patterns, so since WinSCP temporary directories are interspersed with the rest of the contents of the temp directory at the top level, I can't exclude it. I propose putting all of WinSCP's temporary directories together under one devoted parent directory. So, for example, rather than something like this:

C:\Users\My-Username\AppData\Local\Temp\scp11111\
Advertisements
TravisCarden
[View user's profile]

Joined: 2011-04-07
Posts: 4
Location: United States
Oops. I submitted instead of previewing. As I was saying, instead of something like this:

Code:
C:\Users\My-Username\AppData\Local\Temp\
C:\Users\My-Username\AppData\Local\Temp\scp11111\
C:\Users\My-Username\AppData\Local\Temp\scp22222\
C:\Users\My-Username\AppData\Local\Temp\scp33333\


...you would have something like this:

Code:
C:\Users\My-Username\AppData\Local\Temp\WinSCP\
C:\Users\My-Username\AppData\Local\Temp\WinSCP\scp11111
C:\Users\My-Username\AppData\Local\Temp\WinSCP\scp22222
C:\Users\My-Username\AppData\Local\Temp\WinSCP\scp33333


This would solve my problem above, giving me a single, constant directory to exclude from CCleaner. I should think it would also keep the temp directory better organized (if that matters to anybody).
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
You can change the location of temporary files yourself:
https://winscp.net/eng/docs/temp_folders
_________________
Martin Prikryl
TravisCarden
[View user's profile]

Joined: 2011-04-07
Posts: 4
Location: United States
Ooh, nice; thank you. Smile
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License