cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 FileUploader in MII - 403 Forbidden error

Former Member
0 Kudos

Hi,

I'm trying to use the FileUploader (SAPUI5) in a MII page and while uploading a file to the server I'm getting the '403 Forbidden error' by the browser.

The folder 'upload' is in the same project path like the index.html.


The user which uses the page has full rights (read and write) to the folder in the MII workbench.


My system information:

- MII 14.0 SP6 Patch 7

- SAPUI5 1.22.2


My code looks like this:

        var fileUploader = sap.ui.unified.FileUploader({

            uploadUrl: "upload/",

            name: "myFileUpload",

            fileType: "txt,xml",

            sendXHR: true

        });

Thanks for your help and best regards,

Matthias

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member185280
Active Contributor
0 Kudos

Matthias,

Unless it has been recently implemented I do not think there is any built in file upload functionality in MII that works out of the box with things like the FileUploader etc.. You typically will have to implement your own jsp to accept the file. Do a google search for 'sap mii file upload' or similar and you should be able to find some good examples of how to do this.

Regards,
Christian