View Single Post
  #2  
Old 20.10.2020, 10:13
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,094
Default

Quote:
Originally Posted by dbrown1986 View Post
... script that moves files from the download directory to another directory if file is complete?
Code:
// Move downloaded files to user-specified folder
// Trigger: A Download Stopped

if (link.finished) {
    var destinationFolder = "/home/";
    getPath(link.downloadPath).moveTo(destinationFolder);
}
Reply With Quote