I am trying to upload files to my website.
Every time when upload dialog opens, it tries to open a default path “C:\Windows\system32\config\systemprofile”.
This path is not accessible by every user on all the machines except Admin user.
I even tried to set this default path to “My Documents” but i am not able to get this path runtime.
Thanks in advance !
Don’t use the My Documents folder, try using Default User’s Documents folder instead.
Also check here for more information:
Exceptions in Yesod