#1
|
|||
|
|||
Download of several files from WCS server
Hi, I want to download several .tif files from a WCS server. For example the following 3 URLs:
**External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** I add them by "Add & deep analyse links from clipboard" The problem is, that JDownloader is only able to download the 1st file, and then stops by deleting all other URLs from its download list. Do you have an idea how to download all 3 files? |
#2
|
||||
|
||||
I guess the main issue is that all 3 ".tiff" files have the same filename(?)
Are those 3 different files?
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#3
|
|||
|
|||
You are right. A WCS server delivers different geographic files based on the URL-parameters. Just the file name stays the same (a default name). So the file name is the same, but the file content is different.
It would be ok if JOSM automatically uses another file name in the case a file is already present. For example: "dtm_75m.tif" , "dtm_75m (2).tif, "dtm_75m (3).tif" JD's settings > General > "If the file already exists" = "Auto rename" but this doesn't help in this case. |
#4
|
||||
|
||||
Why does this not help in this case?
I know you wrote, JD would just "remove" those URLs but this will also only happen if you tell it to. Check Settings -> Remove finished downloads -> Never Also, you could create a Packagizer rule to e.g. include some of the URL-parameters in those filenames, resulting in unique filenames.
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#5
|
|||
|
|||
Quote:
Are you able to download all 3 files? |
#6
|
||||
|
||||
No not when using the default settings.
My suggestion is to make sure that each of those files gets a different filename by using a Packagizer rule. If you don't want that and prefer auto rename to be used, try this: Settings -> Advanced Settings -> Code:
GeneralSettings.mirrordetectiondecision
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#7
|
|||
|
|||
Thanks, I'm using the "Settings" method with auto renaming, and it works!
|
#8
|
||||
|
||||
Thanks for your feedback.
Please keep in mind that we do not recommend, permanently leaving the setting "mirrordetectiondecision" disabled.
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#9
|
|||
|
|||
I've got another question:
As I wrote above I'm, just able to add these links by "Add & deep analyse links from clipboard". In this case JD seems to connect to the server to do some checks (if the file is available, its name etc.) before it adds the final links to Linkgrabber. This could be a time-consuming (and maybe also be a challenge for the WCS-server) if I want to add hundreds of files. Is there a method to add all these links from clipboard without doing the online-checks before, and paste them to the LinkGrabber instantly ? I already deactivated: Advanced Settings > "linkcollector" > "do link check" , but this seems not to work in this case. Last edited by schach; 08.05.2023 at 22:52. |
#10
|
||||
|
||||
Quote:
You were already on the right path. Additionally to what you did, you need to modify those URLs in beforehand so that JD force-takes them as single direct-URLs which will skip the deep-parser. Simply add "direct**External links are only visible to Support Staff** in front of each URL (yes, they will contain "http:.." two times then) to do that. Example: Code:
directh__p://h__p://.../50Mo.dat
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#11
|
|||
|
|||
Thanks - working perfect!
|
#12
|
||||
|
||||
Thanks for your feedback.
By the way it could also be possible to use a LinkCrawler rule of type DIRECTHTTP for this so you do not have to modify the URLs before.
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
Thread Tools | |
Display Modes | |
|
|