Security Settings of System.IO.FileExists, I should see files

  • Thread starter Christian Blackburn
  • Start date
C

Christian Blackburn

Hi Gang,

I am unable to get either system.io.fileexists() = true or Dir() <> ""
to work in my ASP.net/VS 2003 web project. Can someone tell me or
point me to some instructions on how to enable file enumeration. I
know the files I'm checking for exist. I tried using both the full
path and just enumerating files in the same folder and only specifiying
the file name. In both instances I experienced failure. This must be
a common problem. So thank you so much for a common solution :).

Thanks,
Christian Blackburn
 
C

Cor Ligthert [MVP]

Chistian,

You be aware that with this contruction you are checking at server side?

Cor
 
C

Christian Blackburn

Hi Cor,

Yes I'm aware I'm reading files on the server. In fact I think this
works on my ISP, but I can't test that, because the front page
extensions need to be repaired on the remote web server. So I'm just
coding no my own system and want to know what I can do to the security
settings to make it work. Also I know it's System.Io.File.Exists, that
was just a silly typo :).

Thanks,
Christian Blackburn
RawSeattle.org Web Developer
 
C

Christian Blackburn

Dear Ken,

Thank you so much. I really, really appreciate it when it works :).

Thanks,
Christian
 

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

Top