How to Modify Upload Url

By default, the file is uploaded to the URL at which the file will be available. For instance, if you are uploading myfile.docx to the folder the file is submitted to If you would like to change the URL to which the file is submitted you can do this in OnBeforeUpload event:

function onBeforeUpload(oUploadSettings){
    var targetUrl = oUploadSettings.action;
    oUploadSettings.action = '' + targetUrl;
var ajaxFileBrowser = new  ITHit.WebDAV.Client.AjaxFileBrowser.Controller('AjaxFileBrowserContainer', '', 'height: 500px; width: 500px');
ITHit.Events.AddListener(ajaxFileBrowser.GetTransferManager(), 'OnBeforeUpload', onBeforeUpload);

Next Article:

Uploading Files to WebDAV Server in Internet Explorer 9 and Earlier Versions