in reply to How to check If file exists?

The -e operation works on filenames, not URLs. Give it the filename that will be served by that URL instead.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re: •Re: How to check If file exists?
by Anonymous Monk on Dec 09, 2003 at 22:22 UTC
    Thanks for all of the replies, Yes, I have tried single quotes, double quotes, no quotes, not "dots", and they all don't work.

    I'm not sure what you mean? How would it know where to look for the file?
    The -e operation works on filenames, not URLs. Give it the filename that will be served by that URL instead.

    This sounds like it might works, but I am unlear how do do this.
    Thanks!
      Thanks All! I got it to work with your help. Turns out I needed to take off the ticks, which I had tried before, then I used just the path name like you suggested and not the URL. I was getting the two mixed up. Thanks for pointing that out!!