I have a text file in my amazon s3 bucket and I want to write text at the end of this file. Something like the following: xxxxxx | xxxxxx | xxxxx | xxxx. I want to do this using C #. I tried using a streamwriter but it did not work.
using(StreamWriter writer = new StreamWriter(Server.MapPath(url), true)) { writer.WriteLine("xxxxxxxx|xxxxxxxxxxx|xxxxxxx|xxxxxxxxxx"); }
My initial hunch is that there must be some kind of authentication requirement. Can someone help me or direct relevant resources.
source share