# 22. Virtuoso Functions Guide - file_mkdir

Chapter Contents | Prev | Next
Keyword Search:
www.openlinksw.com
docs.openlinksw.com
Book Home
Contents
Preface
Virtuoso Functions Guide
Administration
Aggregate Functions
Array Manipulation
BPEL APIs
Backup
Compression
Cursor
Date & Time Manipulation
Debug
Dictionary Manipulation
Encoding & Decoding
File Manipulation
file_delete
file_dirlist
file_mkdir
file_mkpath
file_stat
file_to_string
file_to_string_outpu...
file_unlink
os_chmod
os_chown
Free Text
Hashing / Cryptographic
LDAP
Locale
Mail
Miscellaneous
Number
Remote SQL Data Source
Replication
SOAP
SQL
String
Transaction
Type Mapping
UDDI
User Defined Types & The CLR
Virtuoso Java PL API
Virtuoso Server Extension Interface (VSEI)
Web Server & Internet
XML
XPATH & XQUERY
Functions Index

## file_mkdir

Creates a directory in the file system
file_mkdir (in path varchar, [out error any]);
Description

This function requires dba privileges.

This function creates a file system directory.

Parameters
path – A string containing path to the directory to be created, absolute or relative to server working directory.
error – The error message is stored into this variable. If present, errors are not signalled.
Return Types

On success returns zero.

Errors

SQLState | Error Code | Error Text | Description
--- | --- | --- | ---
42000 | FA014 | Access to %s is denied due to access control in ini file |
42000 | FA015 | Access to %s is denied due to access control in ini file |

See Also

file_delete file_unlink file_mkpath file_stat