E
e deleflie
Hi all,
I'm trying to send a file via XML RPC ..... the below code doesn't
work (some HTTP error) and I cant find any samples anywhere on Google
.... can someone shed some light?
@server = XMLRPC::Client.new2("http://" + @loginName.to_s + ":" +
@password.to_s + "@" + SITE_URL + "/")
file = IO.read("files/something.txt")
result = @server.call("submitFile", "first parameter" , "yada yada", file )
I'm trying to send a file via XML RPC ..... the below code doesn't
work (some HTTP error) and I cant find any samples anywhere on Google
.... can someone shed some light?
@server = XMLRPC::Client.new2("http://" + @loginName.to_s + ":" +
@password.to_s + "@" + SITE_URL + "/")
file = IO.read("files/something.txt")
result = @server.call("submitFile", "first parameter" , "yada yada", file )