Topic "How to automatically create log directory if it does not exits?"

Author Message
[View user's profile]

Joined: 2015-05-08
Posts: 7
I want to import winscp INI file to many of my client PCs.
However, in case if I provide the log directory which is not created in prior, error will occur.
Is there any way to automatically create log directory if it does not exists.

If not possible from configuration, it is better to do in source.
Could you please tell me which source file and in which function it is possible. Idea

Thanks in advance.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24736
Location: Prague, Czechia
No, it's not possible. Why don't you create the directory as a part of the configuration distribution?

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License