Hi,
I use OnDone to save responsebodies (mostly json data) that match some URL criteria.
I can set different filenames etc. This works fine.
However, SaveResponseBody overwrites the same file if it exists.
Basically using something like:
if (oSession.url.Contains("some pattern")) {
var directory: String = "d:\\savedir\\";
var path: String = System.IO.Path.Combine(directory + Guid.NewGuid() + ".json" );
oSession.utilDecodeResponse();
oSession.SaveResponseBody(path);
}
Is there also an append mode available on SaveResponseBody so data is added and not overwritten?