JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 27.07.2019, 13:44
Cyberavater Cyberavater is offline
JD VIP
 
Join Date: Feb 2019
Posts: 357
Question GDrive Google Drive How to have same subfolder structure as download link

Suppose I have a game folder on Google Drive folder that I'd like to download. When I use JD2 to download it doesn't follow the same folder/subfolder structure as the provided link. Thus, the game doesn't work. Any suggestions?

Last edited by Cyberavater; 02.08.2019 at 17:40.
Reply With Quote
  #2  
Old 27.07.2019, 18:44
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,155
Default

settings > package customiser > predefined rule: adopt folder structure.
not all plugins support this but google drive does.
once enabled re-add the links.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #3  
Old 27.07.2019, 21:01
Cyberavater Cyberavater is offline
JD VIP
 
Join Date: Feb 2019
Posts: 357
Default

It was already enabled by default.
But still, it's not what I was asking for.
Example Link attached.
Attached Files
File Type: txt Example.txt (66 Bytes, 6 views)

Last edited by Cyberavater; 27.07.2019 at 21:03. Reason: Link hider is buggy.
Reply With Quote
  #4  
Old 28.07.2019, 02:03
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,155
Default

Keep in mind that you need to make sure that you have the rule below any other rule which will over write or interfere with it.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #5  
Old 28.07.2019, 17:32
Cyberavater Cyberavater is offline
JD VIP
 
Join Date: Feb 2019
Posts: 357
Default

I just enabled only that rule and disabled all the others still, it's not same as it's in the link. Is it showing the same (exact) structure you are seeing from the browser? (I doubt it).

I want the exact folder structure as the download link; can that be done?
Reply With Quote
  #6  
Old 31.07.2019, 16:04
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 48,649
Default

I don't understand what you mean.
By doing what he wrote, this will happen:


I don't see any issue with this outcome ...

-psp-
__________________

Ad-free installers || Werbefreie Installer
Windows Setup<--JD2 BETA-->Linux Setup x86 || Linux Setup x64 || Mac Setup
-----=>Support Chat<=-----
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #7  
Old 31.07.2019, 23:23
Cyberavater Cyberavater is offline
JD VIP
 
Join Date: Feb 2019
Posts: 357
Default

Quote:
Originally Posted by pspzockerscene View Post
I don't understand what you mean.
By doing what he wrote, this will happen:


I don't see any issue with this outcome ...

-psp-
There aren't any (issue with this outcome) for a typical folder containing typical files. But I was explicitly talking about Game (software/application) folder where specific folder structure *really* matters.

For example: It should be X>(Y,Z,New Text Document (3).txt;Y>A>New Text Document (3).txt;Z>B>New Text Document (3).txt)
[Check by browser]

Not: X>New Text Document (3).txt;A>New Text Document (3).txt;B>New Text Document (3).txt

A Game (software/application) with given folder structure (such as given example) will not work in the later structure. Can you plz do something to get the exact structure?

Last edited by Cyberavater; 01.08.2019 at 06:37.
Reply With Quote
  #8  
Old 02.08.2019, 01:45
gatorade gatorade is offline
Ultra Loader
 
Join Date: Dec 2017
Posts: 47
Default

I have this exact same issue on my side... and there is a report opened 2 years ago, as it follows.... - https://board.jdownloader.org/showthread.php?t=76025


take a look into this url here... look how it is in gDrive.... and now, look how it is how my jDownloader parses the link



Notice the red lines... all of them are subfolders of some other folder in the link, previously shared above

And this is how my packagizer is


this is how my 'gdrive' rule is, according requests made by Jiaz


and my add links



any idea how to sort this out??
Reply With Quote
  #9  
Old 02.08.2019, 10:46
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 561
Default

Quote:
Originally Posted by gatorade View Post
... any idea how to sort this out??
"Adopt by folder structure" and "Create Subfolder by Packagename" rule should be disabled. Optionally, duplicate and modify both rules, if you want to apply them to other sites.

The same solution might work for OP too.
Reply With Quote
  #10  
Old 02.08.2019, 17:38
Cyberavater Cyberavater is offline
JD VIP
 
Join Date: Feb 2019
Posts: 357
Default

Quote:
Originally Posted by mgpai View Post
"Adopt by folder structure" and "Create Subfolder by Packagename" rule should be disabled. Optionally, duplicate and modify both rules, if you want to apply them to other sites.

The same solution might work for OP too.
Umm... Nope, that doesn't help, it just mashes up all files in a single folder.
[Which is not the structure you see by the browser.]

BTW, the issue is not solved as stated.

Last edited by Cyberavater; 02.08.2019 at 17:42. Reason: Issue is not solved
Reply With Quote
  #11  
Old 02.08.2019, 18:17
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 561
Default

This is the folder and file structure generated by those rules for the url provided by @gatorade.

Folders List:
Code:
gist.github.com/mgpai/5639206a0297f2a6067fe672e2745229
File List:
Code:
gist.github.com/mgpai/ae1027c30a1a7f92c7f2b157c164a42d
Reply With Quote
  #12  
Old 05.08.2019, 18:27
Cyberavater Cyberavater is offline
JD VIP
 
Join Date: Feb 2019
Posts: 357
Default

I'd still love a solution for this issue since it was never solved (while a false solved tag is added).
Reply With Quote
  #13  
Old 05.08.2019, 19:52
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 64,623
Default

@Cyberavater: I can't reproduce any issue. *Adopt folder structure* rule must be BELOW *create subfolder by packagename* rule in Settings-Packagizer.

Your example link results in 3 files
1.) root/New Text....txt
2.) root/Y/A/New Text....txt
3.) root/Z/B/New Text...text
It's exactly the same structure as on google drive
__________________
JD-Dev & Server-Admin
Reply With Quote
  #14  
Old 05.08.2019, 19:54
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 64,623
Default

Quote:
Originally Posted by Cyberavater View Post
Not: X>New Text Document (3).txt;A>New Text Document (3).txt;B>New Text Document (3).txt
Don't look at the package names! The important thing is the final downloadfolder! which reflects the correct folder structure.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #15  
Old 05.08.2019, 20:02
Cyberavater Cyberavater is offline
JD VIP
 
Join Date: Feb 2019
Posts: 357
Default

Quote:
Originally Posted by Jiaz View Post
Don't look at the package names! The important thing is the final download folder! which reflects the correct folder structure.
You are missing my point! Check the image posted by psp https://i.snag.gy/tYfCzi.jpg
It doesn't have any subfolders while a certain application in that download link will require the *EXACT/SAME* structure as you see in the browser. Seriously, I'm not sure how much more I can speak clearly to make it understandable to guys.

Last edited by Cyberavater; 05.08.2019 at 20:06.
Reply With Quote
  #16  
Old 05.08.2019, 20:05
Cyberavater Cyberavater is offline
JD VIP
 
Join Date: Feb 2019
Posts: 357
Default

Quote:
Originally Posted by Jiaz View Post
Don't look at the package names!
Also, 'package names' (i.e folder name) is required to be exact for certain application/software to work.
Reply With Quote
  #17  
Old 05.08.2019, 20:15
Cyberavater Cyberavater is offline
JD VIP
 
Join Date: Feb 2019
Posts: 357
Default

Quote:
Originally Posted by Jiaz View Post
@Cyberavater: I can't reproduce any issue. *Adopt folder structure* rule must be BELOW *create subfolder by package name* rule in Settings-Packagizer.
Which it is by default and got the same result as psp (And you missed my point! You (atleast psp) reproduced my issue but for some reason not realizing it as an issue. (Not sure why?)).

Quote:
Originally Posted by Jiaz View Post
Your example link results in 3 files
1.) root/New Text....txt
2.) root/Y/A/New Text....txt
3.) root/Z/B/New Text...text
It's exactly the same structure as on google drive
All are in the 'same folder' in it's 'subfolder'. Which is not how JD2 presents it (it creates "different folders' NOT 'subfolders'). https://i.snag.gy/tYfCzi.jpg
Again, a software won't work if you put it's files on different folders and on the folder's subfolder.

Last edited by Cyberavater; 05.08.2019 at 20:33.
Reply With Quote
  #18  
Old 06.08.2019, 16:09
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 64,623
Default

Quote:
Originally Posted by Cyberavater View Post
You are missing my point! Check the image posted by psp https://i.snag.gy/tYfCzi.jpg
It doesn't have any subfolders ...
please check again the screenshot and take a look at the 'save to' column. yes it does

Quote:
Originally Posted by Cyberavater View Post
Also, 'package names' (i.e folder name) is required to be exact for certain application/software to work.
No they don't. Package help the managing of your links in JDownloader. You may also make use of them to auto name/set the final download folder but you can also use 'packages in JDownloader' independently from 'download folders'. There is no forced connection between package and folder


Quote:
Originally Posted by Cyberavater View Post
All are in the 'same folder' in it's 'subfolder'. Which is not how JD2 presents it (it creates "different folders' NOT 'subfolders'). https://i.snag.gy/tYfCzi.jpg
Again, a software won't work if you put it's files on different folders and on the folder's subfolder.
subfoldes are represented in 'save to' column. JDownloader doesn't support nested packages. A package is simply a collection of links that are downloaded to a specific folder.
You can name a package 'Test' and still download to folder 'hello'.
__________________
JD-Dev & Server-Admin

Last edited by Jiaz; 06.08.2019 at 16:14.
Reply With Quote
  #19  
Old 06.08.2019, 16:16
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 64,623
Default

Quote:
Originally Posted by Jiaz View Post
Your example link results in 3 files
1.) root/New Text....txt
2.) root/Y/A/New Text....txt
3.) root/Z/B/New Text...text
It's exactly the same structure as on google drive
I have 3 files and 4 folders
File 1.) root/New Text..txt
Folder 1.) root/Y
Folder 2.) root/Y/A
File 2.) root/Y/A/New Text..txt
Folder 3.) root/Z
Folder 4.) root/Z/B
File 3.) root/Z/B/New Text...txt
__________________
JD-Dev & Server-Admin
Reply With Quote
  #20  
Old 06.08.2019, 20:21
Cyberavater Cyberavater is offline
JD VIP
 
Join Date: Feb 2019
Posts: 357
Default

Quote:
Originally Posted by Jiaz View Post
please check again the screenshot and take a look at the 'save to' column. yes it does
Well, yes actually it does have subfolder but in different folders (i.e. X, Y, Z). But can you have them (Y, Z) in folder 'X' as it's shown in the browser?
[P.S. Yes, My 'save to' column is same as psp's]
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 09:20.
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 - 2019, Jelsoft Enterprises Ltd.