|
#1
|
|||
|
|||
![]()
Hello there,
I am currently dual booting between Windows and Linux. Since most of my links are on the Windows side, I cannot download when I'm on Linux, how do I keep the progress of downloads and links when on either system? I download to the same folder on Windows even when on Linux. EDIT. Okay, I got it to show by copying the 'cfg' folder to the linux folder, now I can just copy the cfg folder back to Windows to resume from there? There won't be any corruption? I also have to keep on changing the download location... Most likely due to a file in the 'cfg' folder. Which one is it so I don't have to keep on changing the download location. Thanks in advance Last edited by malim; 22.09.2016 at 07:48. |
#2
|
||||
|
||||
![]()
Use the exact same JDownloader installation and use a downloadfolder that is within your JDownloader folder. JDownloader then will autoconvert the paths.
Yes, your approach will also work, but you always have to change location manually.
__________________
JD-Dev & Server-Admin |
#3
|
|||
|
|||
![]()
Hi Jiaz, sorry I'm new to Linux but how do I install the Linux version in the Windows directory? I can't do it the other way since Windows can't mount Linux partitions.
|
#4
|
||||
|
||||
![]()
Easiest solution: mount your windows drive on linux
![]()
__________________
JD-Dev & Server-Admin |
#5
|
|||
|
|||
![]() Quote:
![]() I'm now using a single installation, but isn't autoconverting the paths correctly. Back on Windows it says: D:\run\media\malim\LocalDisk\JDownloader\Downloads\run\media\malim\LocalDisk\JDownloader\Downloads When it should say: D:\JDownloader\Downloads (for Windows) And: /run/media/malim/LocalDisk/JDownloader/Downloads (for Linux) |
#6
|
||||
|
||||
![]()
Please check Settings-Advanced Settings-GeneralSettings.convertrelativepathsjdroot
is it enabled? What is your default Downloadfolder in Settings?
__________________
JD-Dev & Server-Admin |
#7
|
|||
|
|||
![]()
The setting is checked. My default is the Windows folder: D:\JDownloader\Downloads
|
#8
|
||||
|
||||
![]() Thanks! I will check/fix it as soon as possible What windows version do you use? maybe you can provide screenshot of about dialog?
__________________
JD-Dev & Server-Admin |
#9
|
|||
|
|||
![]() Quote:
https://i.imgur.com/xNvuAnL.png |
#10
|
||||
|
||||
![]()
Thanks
__________________
JD-Dev & Server-Admin |
#11
|
|||
|
|||
![]()
Hi Jiaz, I don't know if I should create another post but what's worst is if I forget to change the location, then JDownloader will carry on downloading as though it is downloading in the correct location. Shouldn't there be a check to see what segments or pieces have been downloaded, instead of just continuing from a non-existent '50%' or '99%'. It seems to be a more pressing issue.
|
#12
|
||||
|
||||
![]()
Please wait for next core update. Should be fixed then. Please keep in mind that broken paths will not automatically be fixed. But it should work for fresh/new ones
__________________
JD-Dev & Server-Admin |
#13
|
|||
|
|||
![]()
Hey.
I tried to follow the instructions: - I chose a path in the JD2 install directory - I activated the box in Settings-Advanced Settings-GeneralSettings.convertrelativepathsjdroot My JD2 install path is - in Windows: P:\Programme.Windows\JDownloader 2 - in Ubuntu: /mnt/data/Programme.Windows/JDownloader 2 which is the same folder. If I set the download directory in Windows: P:\Programme.Windows\JDownloader 2\Downloads I get in Ubuntu: /home/chemo/P:\Programme.Windows\JDownloader 2\Downloads with "P:\Programme.Windows\JDownloader 2\Downloads" being a single folder (note the backard slashes) If I set the download directory in Ubuntu: /mnt/data/Programme.Windows/JDownloader 2/Downloads I get in Windows: P:\mnt\data\Programme.Windows\JDownloader 2\Downloads\ (no forward slashes though) If I manually correct the path every time before continuing the downloads everything works fine. I am using the latest JD2 version: Revision 47450 |
#14
|
|||
|
|||
![]()
Test with the relative path Downloads as download directory. Then it should be work.
|
#15
|
|||
|
|||
![]()
I didn't think of that. Unfortunately that doesn't work as well.
If I put in Downloads as download folder in General Settings under Ubuntu it correctly converts it to /mnt/data/Programme.Windows/JDownloader 2/Downloads. Likewise it correctly converts it if I put it in under Windows to P:\Programme.Windows\JDownloader\Downloads in Windows. But when I then switch the OS this setting is kept as it is, leading to downloads to the wrong paths. If I put in ./Downloads in Ubuntu it completes to /home/chemo/Downloads though. |
#16
|
||||
|
||||
![]() Quote:
Are you trying to use the same config of a Windows-JD under Ubunto or vise-versa?
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#17
|
|||
|
|||
![]()
I have a single JD installation that I use in both OS. I think it uses the same config file(?) in both systems. If I change the download path in Windows it also changes in Ubuntu an vice versa.
The problem is that it doesn't save the path as a relative path. It just completes it to an absolute path that doesn't work correctly in the other system. If I type in "Downloads" as (relative) path in the General Settings section as download path in Windows and then restart JD, it is changed to P:\Programme.Windows\JDownloader 2\Downloads. If I then start Ubuntuit still says P:\Programme.Windows\JDownloader 2\Downloads in the General Config section, but is actually used as /home/chemo/P:\Programme.Windows\JDownloader 2\Downloads. If I type in "Downloads" as (relative) path in the General Settings section as download path in Ubuntu and then restart JD, it is changed to /mnt/data/Programme.Windows/JDownloader/Downloads. If I then start Windows it still says /mnt/data/Programme.Windows/JDownloader/Downloads in the General Config section, but is actually used as P:\mnt\data\Programme.Windows\JDownloader\Downloads For see attachements example: 1) Putting "Downloads" in as relative path in Ubuntu: ![]() 2) After restarting JD in Ubuntu: ![]() 3) After starting JD in Windows: ![]() 4) The actual used Download path under Windows ![]() Last edited by Chemo; 03.04.2023 at 16:53. |
#18
|
||||
|
||||
![]()
I'm sorry but JD / the config system is not ment to be used in this way.
You will either need one installations, two config files and a script which will provide/rename the needed config file before each JD start or you will need to use two different JD installations resulting in two separate configs. Our configs are made to be re-used / imported/exported but they will not magically adapt paths from OS1 to OS2.
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#19
|
|||
|
|||
![]()
Ohh, okay, then this was a misunderstanding of Jiaz first answer to this thread?
Quote:
Last edited by Chemo; 03.04.2023 at 17:05. |
#20
|
||||
|
||||
![]()
This might work if you're using "real" relative paths but those paths like "Downloads" will get converted into full paths, loosing the first entered "/Downloads" or whatever string.
Other teammembers might be able to answer this more accurately. If you got a strong desire to use one shared config with multiple OS, you will probably find a way to change that string before each download-start using a different script for each OS.
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#21
|
|||
|
|||
![]()
Currently it's not possible to have "real" relative paths and such a change would be more complex/time consuming than to further work on existing GeneralSettings.convertrelativepathsjdroot to include other settings like:
-default download folder -folder history entries -maybe even packagizer rules But maybe *real* relative paths may be easier than it looks on first sight, then this might also be an idea Last edited by notice; 06.04.2023 at 16:12. |
![]() |
Thread Tools | |
Display Modes | |
|
|