View Single Post
Old 16.04.2019, 13:48
leanhdung leanhdung is offline
Ultra Loader
Join Date: Aug 2017
Location: Vietnam
Posts: 47

Originally Posted by mgpai View Post
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.

if (link.isFinished() && !link.getArchive()) {
    var myFilePackage = package;
    getPath(link.getDownloadPath()).moveTo("C:/" & myFilePackage);

Last edited by leanhdung; 16.04.2019 at 13:53.
Reply With Quote