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