There was a problem loading the comments.

Example: Modify filename via anchor in URL

Support Portal  »  Knowledgebase  »  Viewing Article


Packagizer example rule: Modify filename via anchor in URL

What this rule does:
This rule is using a wildcards to get everything behind "#filename=" and set it as a new filename.
This can be useful if you e.g. have a list of many URLs and want to force JD to use a pre-defined custom filename for each of them instead of the original filename.
Original URL: http://cdn8.appwork.org/speed.zip -> Would show up with filename "speed.zip" in JD.
--> Let's say we want JD to set this filename instead:
 
1. Modify URL(s):
http://cdn8.appwork.org/speed.zip#filename=%F0%9F%98%83TestNewFilename.zip
Note: Make sure to properly URL encode filenames inside URLs!
You can use websites like urlencoder.org to make sure the encoding is correct.
2. Add Packagizer rule which modifies the filenames of all URLs matching the above pattern:

Now add your modified URL to JD and the filename will be set accordingly.


Related Articles


On-Premise Help Desk Software by SupportPal