#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2012
    Posts
    3
    Rep Power
    0

    How to get the full path of a file


    Is there a way we can fetch the full path of a file even if the files is browsed from the local hard drive. If not, please suggest an alternate solution

    c:\test\stk\file1
  2. #2
  3. No Profile Picture
    Moderator

    Join Date
    Jun 2002
    Location
    Raleigh, NC
    Posts
    5,265
    Rep Power
    968
    You've got to explain what you're asking in more detail. If you mean can the server determine the path of a file on the client's system, the answer is no, for obvious security reasons.

    To add: Since your question was so vague, that answer assumes you mean WITHOUT uploading a file. If the user has uploaded a file, the path should be available in cffile.clientDirectory.
    Last edited by kiteless; February 21st, 2012 at 12:33 PM.

IMN logo majestic logo threadwatch logo seochat tools logo