RedirectSection: create directory if needed

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

RedirectSection: create directory if needed

Post by *m^2 »

Currently, if I redirect section to a file, which doesn't exist, TC creates the file and writes there.
Unless the file is supposed to be placed in a directory which doesn't exist either, then TC just silently forgets to save the redirected settings.

I think it would be more user friendly to just create the directory.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

OS creates file, not TC :)
And, OS fails to open/create file if folder doesn't exist.
Post Reply