Home
english
Home
.NET Server
Java Server
.NET Client
AJAX Client
AJAX Browser
Map Drive
Pricing
Contacts
info@ithit.com



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 http://webdavserver.com/myfolder/ the file is submitted to http://webdavserver.com/myfolder/myfile.docx. 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 = 'http://webdavserver.com/mypostprocessor.jsp?TargetUrl=' + targetUrl;
}
...
var ajaxFileBrowser = new  ITHit.WebDAV.Client.AjaxFileBrowser.Controller('AjaxFileBrowserContainer', 'http://webdavserver.com/', 'height: 500px; width: 500px');
ITHit.Events.AddListener(ajaxFileBrowser.GetTransferManager(), 'OnBeforeUpload', onBeforeUpload);

What WebDAV software would you like to have?

Selected Customers:
Country: Norway
DnB NOR Group
Country: Finland
Bank of Finland
Country: United Kingdom
Bechtle Direct
Country: Sweden
BT Industries
Country: USA
California Chamber of Commerce
Country: Denmark
Danfoss Group
Country: Denmark
DFDS
Country: USA
Fluke Networks
Country: USA
HNI Corporation
Country: USA
IHS Inc
Country: USA
LandAmerica Financial Group
Country: Canada
Laurentian University
Country: USA
Microsoft
Country: Israel
RADVISION
Country: Ukraine
Raiffeisen Bank
Country: Netherlands
Sanoma Uitgevers
Country: USA
Siemens
Country: Australia
WorkCover NSW
Country: Ukraine
OTP Bank
Country: USA
Intel Corporation
Country: Austria
Austrian Federal Railways
Home .NET Server Java Server .NET Client AJAX Client AJAX Browser Map Drive Pricing Contacts

Updated: Monday, February 01, 2010