JDownloader Community - Appwork GmbH
 

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 27.08.2016, 14:17
ds1508's Avatar
ds1508 ds1508 is offline
DSL User
 
Join Date: Jul 2016
Location: Germany, NRW
Posts: 38
Question myFilePath Security Error

Hallö,
bisher habe ich immer per Knopfdruck aus der Downloadliste die fehlenden Ordner erstellen lassen. Leider funktioniert das seit dem letzten Update nicht mehr:
Code:
                    var packageDownloadFolder = myFilePackage.getDownloadFolder();
                    var myFilePath = getPath(packageDownloadFolder);
                    if (!myFilePath.exists()) {
                        if (myFilePath.mkdirs()) {
                            t += " (Folder created)\r\n";
                        } else {
                            t += " (create folder Error)\r\n";
                        }
                    } else {
                        t += " (Folder exists)\r\n";
                    }
Bekomme immer einen Java-Fehler. Siehe Bild im Anhang.
Attached Images
File Type: jpg Aufnahme1.jpg (189.2 KB, 15 views)
__________________
--
In special cases you may contact me on Discord: http://bit.ly/dsDisco
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 17:07.
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 - 2021, Jelsoft Enterprises Ltd.