I have a soap web service which accepts file attachments, these I process on the server and push as a base 64 encoded file.
What I want to do is create some test images, pdfs, text files, word docs, etc that are increasingly large.
For example:
Create a set of images that are 10 KB, 15 KB, 20 KB, ... N KB.
Create a set of pdfs that are 10 KB, 15 KB, 20 KB, ... N KB.
etc.. for various file types.
Anyone know a slick way of doing this?
(Not even sure how to tag this question as the solution could be in many languages so I marked it as scripting.)