HI nikita,
Web service is nothing but and consumable application,what you do with web site can web service do right,but we are dealing with files on the server so you will need to make sure that you give enough rights to your those directories otherwise you will not be able to move your files,i have created web service just see the code below
using System;
using System.Web.Services;
using System.IO;
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
// [System.Web.Script.Services.ScriptService]
public class Service : System.Web.Services.WebService
{
public Service () {
//Uncomment the following line if using designed components
//InitializeComponent();
}
[WebMethod]
public string HelloWorld() {
return "Hello World";
}
[WebMethod]
public bool MoveImage()
{
bool isMoved = true;
try
{
File.Move("C:\\Folder1\\myfamily.JPG", "C:\\Folder2\\myfamily.JPG");
}
catch (Exception ex)
{
isMoved = false;
}
return isMoved;
}
}
just see the move function,i have created two folders Folder1 and Folder2,initially i have drop one file in Folder1 and moving to Folder2 with our function,you can see whole process on below snapshot,here i have not added reference of this to my page,but i have invoked it directly,you can do it by add reference

just ping me with your feedback
thanxs