static string GetWhereToPut(IActivityIOOperationsEndPoint src, IActivityIOOperationsEndPoint dst)
{
if(src.IOPath.PathType == enActivityIOPathType.FileSystem)
{
// some silly chicken is not getting the directory correctly ?!
return Path.GetDirectoryName(src.IOPath.Path);
}
if(dst.IOPath.PathType == enActivityIOPathType.FileSystem)
{
return Path.GetDirectoryName(src.IOPath.Path);
}
return null; // this means that neither the src or destination where local files
}