JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 02.06.2018, 08:32
HieuDo's Avatar
HieuDo HieuDo is offline
Bandwidth Beast
 
Join Date: Nov 2014
Posts: 145
Default Invalid Download Directory

https://i.imgur.com/C8Uvobq.png
I am using Google Drive folder. JD2 keeps showing "Invalid Download Directory" message. I have to resume download manual everytime I get the error message. The problem hadn't happened before JD2 got an update.

01.06.18 18.28.34 <--> 02.06.18 01.33.46 jdlog://7580954433151/
01.06.18 18.28.34 <--> 02.06.18 12.19.08 jdlog://1011954433151/
01.06.18 18.28.34 <--> 03.06.18 14.34.33 jdlog://0271954433151/

Last edited by HieuDo; 03.06.2018 at 22:20.
Reply With Quote
  #2  
Old 04.06.2018, 16:47
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,343
Default

Your destination drive/folder has IO error
java.io.IOException: Input/output error

This is caused by local system and has nothing to do with JDownloader.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 04.06.2018, 16:48
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,343
Default

You can google for it,
for example, github.com/astrada/google-drive-ocamlfuse/issues/304
looke like issues with google drive
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 04.06.2018, 17:39
djmakinera djmakinera is offline
Banned
 
Join Date: May 2010
Location: Poland
Posts: 8,451
Default

I have an identical situation. Invalid Download Directory
04.06.18 16.31.07 <--> 04.06.18 16.40.00 jdlog://0991954433151/
**External links are only visible to Support Staff****External links are only visible to Support Staff**

Caused by: java.io.FileNotFoundException: Z:\jd_accessCheck_1528123115422 (Odmowa dostêpu)
at java.io.RandomAccessFile.open0(Native Method)
at java.io.RandomAccessFile.open(Unknown Source)
at java.io.RandomAccessFile.<init>(Unknown Source)
at org.appwork.utils.IO.open(IO.java:330)
at jd.controlling.downloadcontroller.DownloadWatchDog$38.check(DownloadWatchDog.java:3925)
... 3 more
Reply With Quote
  #5  
Old 04.06.2018, 18:03
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,343
Default

@djmakinera: different issue. Your windows blocks write access to root of drive
Z:\jd_accessCheck_1528123115422 (Odmowa dostêpu)
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 04.06.2018, 18:09
djmakinera djmakinera is offline
Banned
 
Join Date: May 2010
Location: Poland
Posts: 8,451
Default

Because the path requires special administrator rights (save and delete), and JDownloader is running with normal permissions.
So what to do in this case?
Reply With Quote
  #7  
Old 04.06.2018, 18:14
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,343
Default

Solution: Fix permissions on that drive and allow your owner to write to that location or create a subfolder and download into that.
I'm sorry but we're not here to help you with your permission issues in your setup
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 04.06.2018, 18:20
djmakinera djmakinera is offline
Banned
 
Join Date: May 2010
Location: Poland
Posts: 8,451
Default

This is an error in JD2 because in every manager it downloads the file correctly.

Last edited by Jiaz; 04.06.2018 at 18:30.
Reply With Quote
  #9  
Old 04.06.2018, 18:30
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,343
Default

I'm sorry but JDownloader is unable to create that file because windows blocks access to it. No error in JDownloader. It can be permission issue, may be caused by firewall/av, I can't tell. But the error comes directly from your OS and is as clear as it can be. Either fix permissions or use subfolder or do whatever you want.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 04.06.2018, 18:55
djmakinera djmakinera is offline
Banned
 
Join Date: May 2010
Location: Poland
Posts: 8,451
Default

My settings are correct and I even tried to automatically repair all permissions with a repair tool permission.
I sent the log to the website sysnative expert and said that everything is OK. You should check the problems with JDownloader because nothing more can be done.
JDownloader must automatically detect permissions, which in case you need to raise them and save as administrator (if UAC enabled)

https://s15.postimg.cc/u3y4h8i0b/Scr...t_05.53_PM.jpg
Reply With Quote
  #11  
Old 04.06.2018, 19:14
djmakinera djmakinera is offline
Banned
 
Join Date: May 2010
Location: Poland
Posts: 8,451
Default

In JD2, no file can be directly stored on the partition.
Example: [C-Z]:\\
You can only save in a folder, folders, subfolder, or subfolders.
The same problem occurs on other computers (Laptop)

In other managers (not based on JAVA) it is possible directly on the partition (no folder)
Reply With Quote
  #12  
Old 04.06.2018, 19:21
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,343
Default

You cannot *raise permission* and UAC requires restart of application and you should NOT run JDownloader as administrator. If you want to save to admin locations, then either start JDownloader as administrator or proper setup permissions.
I don't know what you *repair tool* does, but permission setup is nothing I would let do a *repair tool*.

I gave you 3 options to solve this.
1.) setup correct permissions so that your normal user may write into root of drive
2.) use a subfolder for your files
3.) run as administrator.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #13  
Old 04.06.2018, 19:28
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,343
Default

I just tested with notepad. Not able to store on root of device if not allowed by permission set
__________________
JD-Dev & Server-Admin
Reply With Quote
  #14  
Old 04.06.2018, 19:31
djmakinera djmakinera is offline
Banned
 
Join Date: May 2010
Location: Poland
Posts: 8,451
Default

Of course, if you run JDownloader as an administrator, you can download files directly to the letter of the partition.
But this will cause a different problem, if I want to overwrite the file, I'll get more errors with privileges and the circle closes.
I can not change the privileges I currently have because I expose myself to other security problems.
I checked the permissions of JD2 and another manager are identical permissions, so the problem is somewhere else.

If disable UAC JDownloader can download without any errors, but UAC is an important security that can not be turned off to help in the fight against unwanted viruses or ramsoware.
Reply With Quote
  #15  
Old 04.06.2018, 19:32
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,343
Default

You don't have to disable UAC and you don't have to run JDownloader as administrator. But if you want to download to the root of a drive, you have to give your user permission to do so. This has nothing to do with JDownloader. It's simple permission model of windows. Either you setup as you need it or you use one of the given solutions.

I wonder why we have to explain such stuff again and again.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #16  
Old 04.06.2018, 19:42
djmakinera djmakinera is offline
Banned
 
Join Date: May 2010
Location: Poland
Posts: 8,451
Default

I have full permission, but it does not change anything!

https://s15.postimg.cc/n4t99scdn/Scr...t_06.41_PM.jpg
Reply With Quote
  #17  
Old 04.06.2018, 19:44
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,343
Default

That screenshot is the wrong one. you need the *expanded* one, click on the button below. And the screenshot shows that the administrator has permisson. There should also be an entry for the user itself
__________________
JD-Dev & Server-Admin
Reply With Quote
  #18  
Old 04.06.2018, 19:53
djmakinera djmakinera is offline
Banned
 
Join Date: May 2010
Location: Poland
Posts: 8,451
Default

User ? Full Control
https://s15.postimg.cc/4gb7ma5zf/Scr...t_06.53_PM.jpg
Reply With Quote
  #19  
Old 04.06.2018, 19:55
djmakinera djmakinera is offline
Banned
 
Join Date: May 2010
Location: Poland
Posts: 8,451
Default

works, but now I have a data inconsistency (Warning).
Now I do not know how to restore the inconsistency of given files on the partition ???
Reply With Quote
  #20  
Old 04.06.2018, 19:58
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,343
Default

I'm sorry but I don't know what you mean by *inconsistency (Warning)*
In case you're talking about filesystem, then you should run the filesystem checker tool of windows.
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

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 14:00.
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.