Quote:
Originally Posted by dbrown1986
... 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);
}