1 Reply Latest reply on Oct 12, 2008 9:46 PM by abeall

    File System Questions

      In the drag and drop file upload that I am building, I need to know exactly what I am getting from a nativeDrop into an area. These are file parameters. So, if I drop a file into the area, it uploads. But, I need to design a PHP script to receive it. So, i need the information that the app is getting. Help me please!
        • 1. Re: File System Questions
          abeall Level 3
          You could check FileReference.type of the files in the drag's clipboard file list. It will give you extensions like ".jpg" or ".pdf" etc. You could even not allow a drop if it doesn't meet certain file type criteria.

          You can also check FileReference.size, creationDate, and modificationDate. I don't know about any other information like metadata.