I have all my XML files stored on to the other server and I have installed and configure the SOLR on different server. How can I index those XML files into the SOLR. I have
Take a look at the DataImportHandler. I think you should be able to access a network file if it has the proper permissions set up.
Based on your comment to Shane Alexander's answer, you will need to use the URLDataSource option of the DataImportHandler to retrive the file via a Url. Additionally, you will need to incorporate the patch from SOLR-1490 to allow for authentication support.
Why not mount the drive from your Solr server, and do something like:
java -jar post.jar "Z:\home\data\delivery\textarticles.xml"
post.jar is in the exampledocs folder. You might also use it as an example application and build your own application to post those xml files from the other server