File.Exists not working properly in FireFox???

Discussion in 'ASP .Net' started by =?Utf-8?B?S3VtYXIuQS5QLlA=?=, Oct 8, 2007.

  1. bool str = File.Exists("\\\\Blrkec32657d\\Results\\J22.res.txt");

    str returns “True†in IE but false in FireFox why??? Based on this I am
    drawing
    some Graphs… It works in IE but not in Firefox.

    Kindly let me know why?

    --
    Kumar.A.P.P
    Software Engineer, Infosys Technologies Limited.
    http://geekswithblog.squarespace.com
     
    =?Utf-8?B?S3VtYXIuQS5QLlA=?=, Oct 8, 2007
    #1
    1. Advertising

  2. File.Exists call belongs to server-side. Browsers run on client side.

    What are you trying to achieve?

    --
    Eliyahu Goldin,
    Software Developer
    Microsoft MVP [ASP.NET]
    http://msmvps.com/blogs/egoldin
    http://usableasp.net


    "Kumar.A.P.P" <> wrote in message
    news:...
    > bool str = File.Exists("\\\\Blrkec32657d\\Results\\J22.res.txt");
    >
    > str returns "True" in IE but false in FireFox why??? Based on this I am
    > drawing
    > some Graphs. It works in IE but not in Firefox.
    >
    > Kindly let me know why?
    >
    > --
    > Kumar.A.P.P
    > Software Engineer, Infosys Technologies Limited.
    > http://geekswithblog.squarespace.com
     
    Eliyahu Goldin, Oct 8, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Totan
    Replies:
    0
    Views:
    1,079
    Totan
    Apr 17, 2006
  2. Max
    Replies:
    4
    Views:
    11,042
    Kevin Spencer
    Aug 11, 2006
  3. Charlie@CBFC

    Not Rendering properly in FireFox

    Charlie@CBFC, Oct 3, 2006, in forum: ASP .Net
    Replies:
    5
    Views:
    422
    Cowboy \(Gregory A. Beamer\)
    Oct 3, 2006
  4. =?Utf-8?B?SmFtZXMgUGFnZQ==?=

    FileUpload control not rending properly in Firefox

    =?Utf-8?B?SmFtZXMgUGFnZQ==?=, Sep 4, 2007, in forum: ASP .Net
    Replies:
    7
    Views:
    911
    Mark Rae [MVP]
    Sep 5, 2007
  5. Ulf Meinhardt
    Replies:
    8
    Views:
    6,304
Loading...

Share This Page