Get full path of FileUpload
I've defined a file upload field for uploading PDF to a model, as:
Now, I want to access this file after the model is created using
However, I get error as:
How do I obtain the full path of this PDF file?
Now, I want to access this file after the model is created using
model::boot method as below:However, I get error as:
File '01J085D4C9VX4Q2WSPFMTH95K8.pdf' does not exist.How do I obtain the full path of this PDF file?