Search found 5 matches

by Fristi
August 15th, 2010, 5:47 am
Forum: General Help
Topic: [API] addfile C#
Replies: 6
Views: 4784

Re: [API] addfile C#

I updated to 0.5.3 now.. still get the same errors. If I leave "nzbfile" out of the GET params it returns me the "expect one parameter" error and if I specify the "nzbfile" param as GET (with the name in it, and I submit the file the file to that url) I get an internal...
by Fristi
August 13th, 2010, 10:51 am
Forum: General Help
Topic: [API] addfile C#
Replies: 6
Views: 4784

Re: [API] addfile C#

I updated to 0.5.3 now.. still get the same errors. If I leave "nzbfile" out of the GET params it returns me the "expect one parameter" error and if I specify the "nzbfile" param as GET (with the name in it, and I submit the file the file to that url) I get an internal ...
by Fristi
August 12th, 2010, 1:35 pm
Forum: General Help
Topic: [API] addfile C#
Replies: 6
Views: 4784

Re: [API] addfile C#

shypike wrote: I'm not even sure it's implemented properly.
Can you use the "watched folder" instead?
In sabnzbd 0.5.0 you mean or in my implementation? It would be great to use the addfile method,, I could implement the watched folder.. but that would cause a lot of extra work i guess ^_^'
by Fristi
August 11th, 2010, 3:58 pm
Forum: General Help
Topic: [API] addfile C#
Replies: 6
Views: 4784

Re: [API] addfile C#

To clarify things up maybe.. I'll quote from api manual: Add by fileupload Added in 0.3 Priority added in 0.5 Allows a file upload to be sent, will be explained in more depth shortly. Anyone got a good description about that method?? I've removed the nzbfile parameter in the request and now i get: <...
by Fristi
August 10th, 2010, 1:22 pm
Forum: General Help
Topic: [API] addfile C#
Replies: 6
Views: 4784

[API] addfile C#

Hey, I am currently developing a client which allows me to manage my QNAP NAS downloads. The NAS has an Sabnzbd installation (0.5.0). When I try to run the following code i get a 500 - internal server error: using(Stream file = File.Open(item.Location, FileMode.Open))            {                ret...