Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to get path and file name from FileItem/UploadItem

    In order to write the results to some other attribute, I need to get the full file name, i.e. path and file name, from a FileItem or UploadItem.
    However, the respective getValue() methods only return the file name.
    How do I get the rest?

    (See also http://forums.smartclient.com/showthread.php?t=13593)

    I'm using GWT 2.0.4 and SmartGWT2.3

    #2
    Please, anybody out there can help me with this?!?!?!

    Isomorphic, are you still there?

    Comment


      #3
      Hello,Isomorphic
      I have the same doubt. Plz clear it..
      Last edited by angelrani; 16 Jun 2011, 21:51.

      Comment


        #4
        ***bump***

        Comment


          #5
          I have the same problem. Help asap!

          Comment


            #6
            Hi,I think you should have a look at this post
            http://forums.smartclient.com/showthread.php?t=6965&highlight=full+fileitem

            Comment


              #7
              Why does anybody help to this guy, Avoid to post any link , I think this forum is to help, I am also looking for this solution

              Comment


                #8
                This has been answered many times, including in the thread linked from post#6.

                The answer is: due to security concerns browsers do not actually provide the full path. There is no way to get it.

                Comment


                  #9
                  Thank you for your answer, My question is is there any property from the fileItem or uploadItem to get all the path of the file, How to get path and file name from FileItem/UploadItem

                  So that the getValue() just have the "file.xls" not with "C:/file.xls"

                  Comment

                  Working...
                  X