CreateDirectory

G

Guest

Hey all,

is there a way to use System.IO.Directory.CreateDirectory on asp.net where
it creates it on the client?

thanks,
rodchar
 
D

darrel

No -- ASP.NET is server side technique

Even if it were client side, you couldn't do this. Or at least shouldn't be
able to. I certainly don't want my web browser being able to write content
to my HD from a web site.

-Darrel
 
M

Mark Rae

any workarounds, if i needed to have c:\temp created if it doesn't exist.

You need to stop and think for a minute...

Imagine a browser allowing a website to have write access to the client
machines' hard disk...
 
S

Steve C. Orr [MVP, MCSD]

This is not possible by default because of security concerns.
The only way you could do such a thing is if you had a thick client with the
proper permissions.
An ActiveX control would be the most likely solution.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,787
Messages
2,569,629
Members
45,330
Latest member
AlvaStingl

Latest Threads

Top