I am working on importing some data from file. In order to achieve that, I added an ‘attach’ button to upload the file. That is being returned as /private/files/ledger.xml. However I need the full path to load the file. Could someone please let me know how to get the full path to the uploaded files?
I do not think this is sufficient. I am no where able to get an absolute path of the file. Is there a better solution? - How do I know if the attach type is uploaded as public or private, and how do I get a full absolute path for that?
But, I believe there must be an easy solution for this. I have no clue if the user uploaded the file as public or private! How can I have a control over that? I am writing a data import tool and this looks like an obstacle.