2010-03-21, 21:06
The directory shouldn't be urlencoded, atleast not afaik.
But yeah the params needs to be inside params. Thats jsonrpc spec, here is documentation regarding it
I'll need to fire up windows and try but afaik C:\ should work, sounds weird if it doesn't Does C:\ as a source work?
btw, File.Download will not download the file per say, it will just tell you how you should download it depending on your transport, for http it will tell you a useable url with tcp it may open up a new port (like ftp, but its not doing that now but will at some point ).
Also for explanation sake, id may be anything so you can use it for your own benefits. EDIT: Although it looks like thats outside json-rpc specification, maybee I should change it . Anyways it cannot be omitted.
i.e. this is an ok call
Cheers
Tobias
But yeah the params needs to be inside params. Thats jsonrpc spec, here is documentation regarding it
I'll need to fire up windows and try but afaik C:\ should work, sounds weird if it doesn't Does C:\ as a source work?
btw, File.Download will not download the file per say, it will just tell you how you should download it depending on your transport, for http it will tell you a useable url with tcp it may open up a new port (like ftp, but its not doing that now but will at some point ).
Also for explanation sake, id may be anything so you can use it for your own benefits. EDIT: Although it looks like thats outside json-rpc specification, maybee I should change it . Anyways it cannot be omitted.
i.e. this is an ok call
Code:
{ "jsonrpc": "2.0", "method": "foo", "id": { "somekey": [1, 2, 3, 4] } }
Cheers
Tobias