I just finish to setup a pratical (and experimental) solution to give OTRS customer users an upload area in the otrs server:
Quite simple and powerfull: in apache conf just enable webdav with custum OTRS auth provider
OTRS agents can read/write in every folder and can create new customers root folder.
It's a pleasure to use the OTRS api.
Apache conf follow.
<VirtualHost *:443>
DAVLockDB ${APACHE_LOCK_DIR}/DAVLock
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/upload_ssl.cert
SSLCertificateKeyFile /etc/apache2/ssl/upload_ssl.key
DocumentRoot "/var/www/upload"
PerlLoadModule Apache::AuthenHook
PerlModule My::OTRS_SimpleAuthProvider
PerlModule Apache2::Reload
PerlInitHandler Apache2::Reload
PerlModule Apache2::RequestRec
<Directory /var/www/upload>
DAV On
SetEnv redirect-carefully
ForceType application/x-downloadable
Options MultiViews Indexes
AllowOverride None
Order deny,allow
Allow from all
AuthType Basic
AuthName "OTRS Upload area"
AuthBasicProvider My::OTRS_SimpleAuthProvider
Require valid-user
</Directory>
</VirtualHost>