View Single Post
Old 21.10.2020, 06:59
mgpai mgpai is offline
Script Master
Join Date: Sep 2013
Posts: 1,415

Originally Posted by Artex View Post
This didn't seem to work either...
Should be working fine. Here is the script used for testing, which has the same folder settings provided in your example. Please note the source folder string is case-sensitive, as commented in the script.

    Move downloaded non-archive files to user-specified folder
    Trigger: A Download Stopped

if (link.finished && !link.archive) {
    var downloadFolder = link.package.downloadFolder;
    var newFolder = downloadFolder.split("F:\\!Downloads\\JDownloader2\\").join("F:\\!Downloads\\JDownloader2\\_COMPLETE\\");// case-sensitive

    if (newFolder != downloadFolder) {
Reply With Quote