Skip to content
Snippets Groups Projects
Commit 5f138e6a authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Revert "Remove existence check for TmpTransferDir"

Since we're now back on using a central location for storing temporary
transfer files, it does make sense again to check for that location to
exist on service startup (refers to #16).

This reverts commit 10640754.
parent 9ef3deca
No related branches found
No related tags found
No related merge requests found
...@@ -403,6 +403,11 @@ namespace ATxCommon.Serializables ...@@ -403,6 +403,11 @@ namespace ATxCommon.Serializables
if (!Directory.Exists(c.DestinationDirectory)) if (!Directory.Exists(c.DestinationDirectory))
errmsg += $"can't find (or reach) destination: {c.DestinationDirectory}\n"; errmsg += $"can't find (or reach) destination: {c.DestinationDirectory}\n";
// TmpTransferDir
var tmpTransferPath = Path.Combine(c.DestinationDirectory, c.TmpTransferDir);
if (!Directory.Exists(tmpTransferPath))
errmsg += $"can't find (or reach) temporary transfer dir: {tmpTransferPath}\n";
////////// OPTIONAL PARAMETERS SETTINGS VALIDATION ////////// ////////// OPTIONAL PARAMETERS SETTINGS VALIDATION //////////
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment