Re: Image Unc Path

  •  04-28-2009, 10:18 AM

    Re: Image Unc Path

    This is the same link you sent me yesterday.  I know how to write to a unc path.  My code is doing that now.  Your code is not.
    your code in defining

    fs.VirtualRoot

    this.a = EditorUtility.ProcessWebPath(base.Context, null, value);

    this.a = '/' + this.a.TrimStart(new char[] { '/' });

    this.a = this.a.TrimEnd(new char[] { '/' }) + '/';

    this.c = base.Context.Server.MapPath(this.a);

    this.b = this.a.ToLower();

    }

    strips out all \\ 
View Complete Thread