Hi Tony
I am calling the interface method
public interface IMoodle : IXmlRpcProxy
{
[XmlRpcMethod("moodle_file_upload")]
CoreFilesUpload_Response CoreFilesUpload(int contextid, string component, string filearea, int itemid, string filepath, string filename, string filecontent);
}
--------------------Main Program---------------------------------------------------------------------------------------------
int contextid = 1;
string component = "user";
string filearea = "private";
int itemid = 5;
string filepath = @"/";
string filename = "file.txt";
string filecontent = "this is file content";
CoreFilesUpload_Response fileUpldResp = moodleProxy.CoreFilesUpload(contextid, component, filearea, itemid, filepath, filename, filecontent);
-------------------------------------------------------------------------------------------------------------------------
return following Exception :
Server returned a fault exception: [12107072] File not specified | ERRORCODE: nofile
if i specifiy file path eg : D:/filepath/ I am getting exception
[29039061] Invalid parameter value detected | DEBUG INFO: filepath => Invalid parameter value detected: Invalid external api parameter: the server was expecting "path" type | ERRORCODE: invalidparameter
Please let me know where am i missing.thanks in advance