HI,

I am new to web development as well as ASP.Net....I am trying to design and a develope a web UI....in which I need to transfer file at the client location itself....I mean the provided filename along with the path I need to move that file from one location to another location of the same client machine. I am using ASP.NET and C#.

Please help how can I do this.

Thanks in advance
Raju

hi raju,

If you want to move the file from one directory to another within the same client machine,try using the move method of the directory class.

use system.io namespace and use the directory class like this.

Directory.Move(old path,new path)

try this.

Thanks and regards

Exelio

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.