@Sarav:
Maybe you should ask Synology for that! I figured out how to do this, by sniffing packets transfered from the Synology-Download-Redirector to my diskstation. It would be great, if you could write something similar in perl. I think, it's rather simple. You only have to execute two HTTP-posts. With the first, you log in and get an transaction ticket ('id') back in form of a JSON response, with the second you enqueue the download url with that id.
You can look into my sourcecode to see what's the exact syntax for the HTTP-posts. You can also see the HTTP requests in the german synology forum. Even if you don't speak german you will understand the HTTP requests:
http://www.synology-forum.de/showpost.html?p=20418&postcount=10
The only thing you have to do, is parse the JSON response and urlencode the url to download. Should be easy in perl.
@Jonathan, @doomherald:
I'm sorry that SynoGet doesn't work for you. I thought about a couple of things, that could cause that:
- maybe some global proxy configuration that is interfering with SynoGet, or other system-wide network problems
- somehow broken .Net-Framework (I had a long discussion with a guy in the german synology forum, and we found out, that he had some kind of customized .Net-Framework installed by 'Call of Duty' which caused the problem there)
- somehow not correctly configured SynoGet
I could not reproduce the error you get, with a correct configuration. So I decided to build a new version of SynoGet: v0.2 Woohoo! A second version in two years...
This new version has an additional commandline switch /debug which writes a SynoGetDebug.txt file containing some useful debug information.
You can find the Links to the new version in my first post here.
Please try SynoGet 0.2 with the /debug switch and let me know the results.
Best regards,
Björn




