Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Issue with Upload Functionality
sandy_893
We are providing a upload functionality in DCT but am facing issues with its implementation.
when i run the script without wrapper and try to open a file in the workarea i get "Permission Denied" error. This happens since without wrapper the script to runned by iwui user and when using the wrapper the enctype="multipart/form-data" functionality is not supported.
Any work around for this?
TS: 6.5
OS: Solaris
sandy
Find more posts tagged with
Comments
Pawan
Hi,
Good turnaround Sandy.
Are you opening the file in view mode or edit mode through the browser window ?
and,
Is the file a dcr or, any file with some extension ?
I assume here that the user had full permissions over the workarea from where the files are selected.
Thanks,
Pawan
sandy_893
we r using a cgi script for the upload functionality which is being called using a callout in the dcr
if i call this script without the iw_cgi_wrapper.cgi, i get an "Permission Denied" error when trying to open a file in our workarea from the script. I debugged it found that this happens bcoz without the wrapper the script gets executed by the iwui user.
if i call the script with the iw_cgi_wrapper.cgi, i can't use enctype="multipart/form-data" in my form since the wrapper does not support this and the file does not get uploaded on to the teamsite server
so is there any work around for this?
sandy