aleXela
aleXela

Reputation: 1301

OctoberCMS get filePath on non images

I'm trying to get full path of file (pdf, zip) i uploaded on backend on afterSave() call

I do get path for image files, but on any other type i'm getting null.

Any suggestion? Thanks

Upvotes: 2

Views: 425

Answers (1)

Ahmed Essam
Ahmed Essam

Reputation: 1010

I was trying to do something like that and when I used getLocalPath() Its worked with me. It should work.

Upvotes: 1

Related Questions