Ha habido un problema al cargar los comentarios.

Example: Modify filename via anchor in URL

Portal de asistencia  »  Base de datos  »  Artículo en vista


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 or url-encoder-decoder 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.


Artículos relacionados


On-Premise Help Desk Software by SupportPal