Use path.Join and then check if the request had a slash at the end to place it again.
Attach a file by drag & drop or click to upload