#1
|
|||
|
|||
Issue with API
Hi,
I am trying to make a program that uses the jdownloader api to download files. I'm using this api function for that: https://my.jdownloader.org/developers/#tag_245 https://my.jdownloader.org/developers/#tag_244 I can add links, put the autoExtract or put the packageName, but I can't put the destinationFolder (which is like this : "/srv/dev-disk-by-uuid-792d0434-372c-4be1-8142-e25139f29a39/Media" ) The default download folder is always used The array I use looks like this: '{"priority":"DEFAULT","links":"**External links are only visible to Support Staff**,"autostart":false,"destinationfolder": "/srv/dev-disk-by-uuid-792d0434-372c-4be1-8142-e25139f29a39/Media/test"}' I'd like to point out that it's not a permission issue, if I set this folder as the default download folder, JDownloader will accept it. Does anyone have any idea where the problem could be coming from, please? |
#2
|
||||
|
||||
@LeonLeBreton: Thanks for reaching out about this It is caused by packagizer rule not yet able to use a different default folder specified in your api request and hence uses the default download folder of your JDownloader. with all packagizer rules disabled, this should work as expected. or your set/add to your query
Quote:
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|