Ability to add url to a script via the api

Want something added? Ask for it here.
Post Reply
morre95
Jr. Member
Jr. Member
Posts: 63
Joined: February 21st, 2010, 7:17 am

Ability to add url to a script via the api

Post by morre95 »

If I for example add a nzb file by url via the api, i can select a post-processing script in the directory that sab uses for scripts. But I also want the ability to add a url to a script. It would be nice.
morre95
Jr. Member
Jr. Member
Posts: 63
Joined: February 21st, 2010, 7:17 am

Re: Ability to add url to a script via the api

Post by morre95 »

In that case it does not need to be an url it can be an uri to.

What do you mean by "Many scripts need to be configured for the system they are running on."? What does that have to do with SAB? I can not see where SAB need to be concerned about that. If a script is unavailable do nothing. Is that realy hard to achieve?

I want this functionality to make it easier to avoid to monitor the history to find out when a download is complete, and where the files are.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Ability to add url to a script via the api

Post by shypike »

morre95 wrote: But I also want the ability to add a url to a script.
Can you explain this in more detail?
Do you want to upload a script?
morre95
Jr. Member
Jr. Member
Posts: 63
Joined: February 21st, 2010, 7:17 am

Re: Ability to add url to a script via the api

Post by morre95 »

No not upload the script but when i upload or add a nzb file with the api. I want to run a post-processing script outside the directory you set in config/folder page in sab. I do not know how to explain it in more detail. This is hard for me, I'm Swedish so English is not my native language.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Ability to add url to a script via the api

Post by shypike »

I understand (well at least I think I do).
This is something we will not implement.
It could be a serious security vulnerability.
It would open the possibility to run any program on the system.
Post Reply