i have to make one .net framework 2.0 web services which took some parameters like source server name destination server name file name then this services will move the file from source to destination. one solution i found is using asp.net i make two pages one for file download and one for file upload and this pages are available at each server. web services will send htt开发者_StackOverflowp request to the server and server will send file or save file on server.
but in this i have to place this two pages on all server. Is ther any way in which i can read and write and create file from the remote server using web services in .net framework 2.0? if any boduy know about it please help me. sorry for spelling mistakes and grametical errors. thanks
If the account your web service runs under has sufficient permissions you could use paths like this:
\\servername\c$\somepath\somefile
Another solution would be to use UNC shares but you won't be able to read and write to arbitrary paths.
精彩评论