Need to select an image file (file name should be dynamic) and then upload to web

This post shows how to grab the latest item in the folder, so you wouldn’t have to mess with the filename at all. Would this work for what you need?