The [dir->create] method creates a directory if one doesn't already exist at the path stored in the [dir] object.
local(d) = dir(...)
#d->create
When the code below is run via Lasso Server, it will create a folder in the web-root named 'rhino.'
Code
local(dir_logo) = dir('/rhino')
#dir_logo->create
Result
A folder named 'rhino' will be created in the web-root if it doesn't already exist
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments