Quote:
Originally Posted by mgpai
Any reason you need to move the file? It should be possible to parse/set the download folder from your url (via packagizer/script) and download the file directly into it, instead of moving it later.
|
I have synced the folder
Pack to my Google Drive
I want to sync only the downloaded files.
Actually, I want to move the downloaded file to the folder named after the Package for which that file belongs.
I tried this one but to no avail.
Code:
if (link.isFinished() && !link.getArchive()) {
var myFilePackage = package;
getPath(link.getDownloadPath()).moveTo("C:/" & myFilePackage);
}