Skip to content

Auto-create user directories in incoming.

See also issue #7 (closed).


Apparently there is no easy method to retrieve the interactively logged in user in Windows using C#, all attempts to so failed, including:

Therefore, a reasonable workaround is required. Suggestion is to check the first-level subdirectories of C:\Users\ as any interactively logged on user will by default have one. Compare those to the list of first-level directories on the remote storage and create any matching pair in the local incoming location. Caching both lists of directories will allow to react only on changes.


Edited by Niko Ehrenfeuchter