[Mono-bugs] [Bug 607502] New: File.* functions not handling network drivesp roperly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu May 20 09:11:40 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=607502

http://bugzilla.novell.com/show_bug.cgi?id=607502#c0


           Summary: File.* functions not handling network drivesp roperly
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 1.2.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: lucas.meijer at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5

This fails:

File.WriteAllText(@"//192.168.3.1/lucas/testfile","some text");

With an exception, that says it cannot find the path
"\\192.168.3.1\lucas\testfile"  (note the conversion to backslashes).

Funny enough, if you try the path from the exception directly like this, it
does work:

File.WriteAllText(@"\\192.168.3.1\lucas\testfile","some text");

Windows7, Mono2.6.4

Reproducible: Always

Steps to Reproduce:
see details
Actual Results:  
not working

Expected Results:  
working

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list