I want to transfer text files from one server to another server through internet using webservices. The text files are generated at the Customer's server by a SAP system and immediately when a text file is generated, it should be transferred to the Client's server .
Can i write a single web service for detecting the text file and also doing the transfer. While transferring the file, How do i give the path of the destination server
I was inclined to ask you to write a windows service instead, and to monitor changes in the directory to start a new transfer each time a file is being generated. Of course you can still go with this (preferably may I add), but an online search found this interesting article that does file transfer using web services.
http://www.zdnetasia.com/techguide/webdev/0,39044903,39251815,00.htm
Have fun!