I have a webrequest to put the content to a new text file on SP document library. But the newline character when missing. Anyone have any idea?
(please see the attachment image for more info. TQ.
i'm having the same problem with you webrequest. is that you have find a solution to work around this.
Which character did you use to get a new line? Have you tried with "\r\n"?
The character could be mistranslated especially if coming from some file editors. There are text files saved by some editors that only use \r which may not work in others. I would recommend using the HTML type and save to a Word, Text, or HTML document in the library and see the result. A CSV type file may be stripping the characters.
Retrieving data ...