Access denied

  • Thread starter Thread starter Aurelio
  • Start date Start date
A

Aurelio

Hello. I'm trying to develope a web aplication that read the files from a
directory chosen for an user in his local machine with th e method
System.IO.Dirtectory.GetFiles(directorio). . The problem is that the folder
doesn't has the permissions of the ASPNET user and this has to work in any
computyer and any folder. Can you help me, please?
 
But, how can i upload multiple files simultaneously with a standart browser
dialog?. I need do it.
 
You can use multiple HtmlInputFile fields on the same form. the user will
still have to select each individual file he wants to upload.

Other than that (such as letting the user select a directory and upload all
its files) you'll have to use a Java applet, an ActiveX or a .NET control
the user will have to approve (security reasons).

Patrice

--
 
System.IO.Directory.GetFiles(directorio) is a server-side call. It operates
on the server's file system and has nothing to do with client machine.
Basically, you can upload files form client to server one by one with a
standard browser dialog. If you want anything more than this, you have to
use ActiveX controls.

Eliyahu
 

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

Back
Top