Server directory path

Hi all.

Is there any way to know the application server upload path using a servoy function?

i.e.

function getServerUploadPath(){

    ......  

    return server_path;
}

function foo(){

    application.output(getServerUploadPath());
}

output: “**c:\Program Files\Servoy.5\application_server\server\webapps\ROOT\uploads**”

Best regards. Roberto Blasco

Fixed!!!

plugins.file.getDefaultUploadLocation();

:oops: :oops: :oops:

Best regards. Roberto.