JDownloader Community - Appwork GmbH

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 16.04.2019, 13:09
leanhdung leanhdung is offline
Ultra Loader
Join Date: Aug 2017
Location: Vietnam
Posts: 48

Originally Posted by mgpai View Post
@leanhdung, you will also need to get the package name.

var myFilePackage = package;
var myFilePackage = link.getPackage().getName();
I have tried your code

if (link.isFinished()) {
    var myFilePackage = link.getPackage().getName();
    getPath(link.getDownloadPath()).moveTo("D:/" + myFilePackage);
with the link

**External links are only visible to Support Staff**
Although there is no error message, the folder D:\Pack 1 is still empty
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 21:24.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.