In Asp.Net,

How to copy folder from client to server using fso

Plz help me.

Using system.io just do this:

File.copy(Source, Destination, Overwrite)

Using FileSystemObject this:

fso.CopyFile(Source, Destination, Overwrite)

* Overwrite is an optional boolean, I think by default this is set to False. Anyway True if you want to overwrite an existing file, False if not.

Remember you will need to have at least read access on your source and Write access on the destination directory.

You'll need to specify remote folders as UNC paths too.

double thread with this. Closed

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.