def _createFilesDir():
 if (not conf.rFile):
  return
 conf.filePath = (paths.SQLMAP_FILES_PATH % conf.hostname)
 if (not os.path.isdir(conf.filePath)):
  try:
   os.makedirs(conf.filePath, 493)
  except OSError as ex:
   tempDir = tempfile.mkdtemp(prefix='sqlmapfiles')
   warnMsg = 'unable to create files directory '
   warnMsg += ("'%s' (%s). " % (conf.filePath, getUnicode(ex)))
   warnMsg += ("Using temporary directory '%s' instead" % tempDir)
   logger.warn(warnMsg)
   conf.filePath = tempDir

def _createFilesDir ( ) : if ( not conf . rFile ) : return conf . filePath = ( paths . SQLMAP_FILES_PATH % conf . hostname ) if ( not os . path . isdir ( conf . filePath ) ) : try : os . makedirs ( conf . filePath , 493 ) except OSError as ex : tempDir = tempfile . mkdtemp ( prefix = 'sqlmapfiles' ) warnMsg = 'unable to create files directory ' warnMsg += ( "'%s' (%s). " % ( conf . filePath , getUnicode ( ex ) ) ) warnMsg += ( "Using temporary directory '%s' instead" % tempDir ) logger . warn ( warnMsg ) conf . filePath = tempDir
create the file directory .