How to get file path from an uploaded file

I am using an sdk that takes the image path for an image and then scans the image to get specific information for it. I am wondering I can retrieve the image path after a user has uploaded the image.
Thanks