Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hi All,

I'm loading an XML file in my app from a network location - if this network path specifies an XML file on a UNIX server, is there anything different I have to do? Will the file open just as an ordinary file?

Thanks in advance!
Posted

1 solution

A UNIX file will have different carriage returns, apart from that, there's no difference. If it doesn't work ( and why didn't you try it before asking ? ), then I would read the string and do a replace on \n ( from memory, could be \r tho ), with Environment.NewLine.
 
Share this answer
 
Comments
Dave Kerr 5-May-10 7:45am    
Hi Christian,

The XML is always created on windows, but might be stored on a unix machine, so the newlines thing shouldn't be a problem - setting up a unix server is what i'll do next, just wanted to get a rough idea of whether i'd be banging my head against a brick wall!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900