ajaxSubmit rename filename during upload
Hi,
I would like to know if it's possible to change the filename of a file during upload of a file.
For instance if a user uploads a file named "foo.png" i would like to change the filename before uploading it to "bar.png".
I was looking at the beforeSerialize() and beforeSubmit() callbacks, but i can't really make up on how to do such a thing.
Anyone that knows how todo such a thing, or if it's even possible at all?
grts Arthur