使用c#将自动填充xml文件上传到Google搜索引擎

I am using the google search engine.

I can add autocomplete terms and upload an xml file with the autocompletetion terms.

I am trying to auto upload this xml file by a console application or a php file.Is there a way that I can auto-upload this xml file using c# or php or any language?

this is an image for clarification

http://postimage.org/image/6kldz1vnb/

Google has recently changed the layout and features under Custom Search. I have been trying to upload an auto complete file and seems like this feature is still not working correctly.

Also, you can only upload an xml file which will have a defined format explained in the Help section.