XML transfer
-
Hi. I am transferring an XML file to another PC's shared folder. I tried to use a File.Copy method but the XML file that has been transferred to the other pc becomes garbage. Is there another way of transferring the file that it won't become garbage? I used the ff code: File.Copy("\\\Data\\" + FileName, true); Where Data is a shared folder. The file got there alright but the content is just garbage. Please help. "To teach is to learn twice"
-
Hi. I am transferring an XML file to another PC's shared folder. I tried to use a File.Copy method but the XML file that has been transferred to the other pc becomes garbage. Is there another way of transferring the file that it won't become garbage? I used the ff code: File.Copy("\\\Data\\" + FileName, true); Where Data is a shared folder. The file got there alright but the content is just garbage. Please help. "To teach is to learn twice"
I would suspect that something else is going on since that code should work. It's not as if the operating system treats XML files differently than other files when copying them. I'd play around a little to try and discover what's occurring. Cheers, Julian Program Manager, C# This posting is provided "AS IS" with no warranties, and confers no rights.
-
I would suspect that something else is going on since that code should work. It's not as if the operating system treats XML files differently than other files when copying them. I'd play around a little to try and discover what's occurring. Cheers, Julian Program Manager, C# This posting is provided "AS IS" with no warranties, and confers no rights.