Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Senior Coder Morgoth's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada Remaining Brain Cells: 6
    Posts
    1,402
    Thanks
    2
    Thanked 1 Time in 1 Post

    If File is real then TRUE?

    There is away to find out if a file on a computer is real or is there.

    like:
    If C:\Folder\Text.txt = Real Then
    Bboolean = True
    Else
    Boolean = False
    End If

    Is this possible? How can I do this? (I am looking on the users computer for this file)

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ASP runs on the server, not the client (or user's) box so there's no way your server side ASP code is going to be able to check for files on the user's machine.

    Also note that on the client side no script should be able to do that kind of checking either, it would be a violation of the user's privacy if scripts could check for the presense or absense of files on a user's computer and then report that information to someone.

  • #3
    Senior Coder Morgoth's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada Remaining Brain Cells: 6
    Posts
    1,402
    Thanks
    2
    Thanked 1 Time in 1 Post
    Ok good, then my friend is a lying pack a monkeys and doesn't have any ASP script like that.

    Thank you Roy


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •