|
|||||
|
While I was writing some code on VBScript to avoid manual tasks that we currently do with a bunch of files, I needed to automatically upload some information extracted from all these files to a SQL database. One way to do it is using a Web Service that receives the data and store it into [...] In C#, to convert a String into a Stream object, we need to use the GetBytes method (from the Encoding.ASCII package), this way: byte[] bytes = Encoding.ASCII.GetBytes(xmlContent); And then, use that byte array when instantiate a Stream (for example, MemoryStream or FileStream): MemoryStream stream = new MemoryStream(bytes); There is a bug on Windows 7 (and Windows Server 2008 R2) that relates to corrupted files error messages and affects several SVN’s operations (like commit and update). The detailed error message you can get is something similar to: svn: Can’t move ‘[repo]\.svn\tmp\entries’ to ‘[repo]\.svn\entries’: The file or directory is corrupted and unreadable. And you [...] |
|||||
|
Copyright © 2013 yorch @ web [in] - All Rights Reserved Powered by WordPress & Atahualpa |
|||||
Recent Comments