How can I rename files? I want to download domain.com/foo/bar.zip as bar_foo.zip rather than as bar.zip. The renaming should happen early. For example as a Packagizer Hook, or within the following call in a script I have:
Code:
myObject = callAPI("linkgrabberv2", "addLinks", {
"links": theLink
});