JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 02.06.2018, 07:32
HieuDo HieuDo is offline
JD Adviser
 
Join Date: Nov 2014
Posts: 102
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 21:20.
Reply With Quote
  #2  
Old 04.06.2018, 15:47
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 56,800
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, 15:48
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 56,800
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, 16:39
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 7,551
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 Supporters****External links are only visible to Supporters**

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, 17:03
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 56,800
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, 17:09
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 7,551
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, 17:14
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 56,800
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, 17:20
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 7,551
Default

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

Last edited by Jiaz; 04.06.2018 at 17:30.
Reply With Quote
  #9  
Old 04.06.2018, 17:30
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 56,800
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, 17:55
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 7,551
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)

**External links are only visible to Supporters****External links are only visible to Supporters**
Reply With Quote
  #11  
Old 04.06.2018, 18:14
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 7,551
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, 18:21
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 56,800
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, 18:28
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 56,800
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, 18:31
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 7,551
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, 18:32
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 56,800
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, 18:42
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 7,551
Default

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

**External links are only visible to Supporters****External links are only visible to Supporters**
Reply With Quote
  #17  
Old 04.06.2018, 18:44
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 56,800
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, 18:53
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 7,551
Default

User ? Full Control
**External links are only visible to Supporters****External links are only visible to Supporters**
Reply With Quote
  #19  
Old 04.06.2018, 18:55
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 7,551
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, 18:58
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 56,800
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 02:09.
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 - 2018, Jelsoft Enterprises Ltd.