{"record":{"id":"ce99cf04f48c8b99","repo":"sqlmapproject/sqlmap","slug":"you-did-not-provide-the-back-end-dbms-absolute-pat","errorCode":null,"errorMessage":"you did not provide the back-end DBMS absolute path where you want to write the local file '%s'","messagePattern":"you did not provide the back-end DBMS absolute path where you want to write the local file '(.+?)'","errorType":"exception","errorClass":"SqlmapMissingMandatoryOptionException","httpStatus":null,"severity":"error","filePath":"lib/core/option.py","lineNumber":754,"sourceCode":"        errMsg = \"unable to locate Metasploit Framework installation. \"\n        errMsg += \"You can get it at 'https://www.metasploit.com/download/'\"\n        raise SqlmapFilePathException(errMsg)\n\ndef _setWriteFile():\n    if not conf.fileWrite:\n        return\n\n    debugMsg = \"setting the write file functionality\"\n    logger.debug(debugMsg)\n\n    if not os.path.exists(conf.fileWrite):\n        errMsg = \"the provided local file '%s' does not exist\" % conf.fileWrite\n        raise SqlmapFilePathException(errMsg)\n\n    if not conf.fileDest:\n        errMsg = \"you did not provide the back-end DBMS absolute path \"\n        errMsg += \"where you want to write the local file '%s'\" % conf.fileWrite\n        raise SqlmapMissingMandatoryOptionException(errMsg)\n\n    conf.fileWriteType = getFileType(conf.fileWrite)\n\ndef _setOS():\n    \"\"\"\n    Force the back-end DBMS operating system option.\n    \"\"\"\n\n    if not conf.os:\n        return\n\n    if conf.os.lower() not in SUPPORTED_OS:\n        errMsg = \"you provided an unsupported back-end DBMS operating \"\n        errMsg += \"system. The supported DBMS operating systems for OS \"\n        errMsg += \"and file system access are %s. \" % ', '.join([o.capitalize() for o in SUPPORTED_OS])\n        errMsg += \"If you do not know the back-end DBMS underlying OS, \"\n        errMsg += \"do not provide it and sqlmap will fingerprint it for \"\n        errMsg += \"you.\"","sourceCodeStart":736,"sourceCodeEnd":772,"githubUrl":"https://github.com/sqlmapproject/sqlmap/blob/0a35b20e3953d341be6c7ac75ccb0b3362540c8d/lib/core/option.py#L736-L772","documentation":"--file-write/--file-dest pairing: a local source file was given but conf.fileDest (the absolute destination path on the DBMS host) is missing, so the write operation is underspecified and rejected.","triggerScenarios":"Thrown at lib/core/option.py:754 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Provide the destination with --file-dest (absolute path on the DBMS server)","Verify both --file-write and --file-dest are present in the command line","Use a writable destination directory on the target for the upload"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0a35b20e3953d341be6c7ac75ccb0b3362540c8d","analyzedAt":"2026-08-26T23:02:52.002Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}