zimki | documentation | search
 
Zimki Documentation - zimki.file.create

Creates a new file. Takes a single parameter - the contents of the file to create - and returns a zimki.file object:

  var f = zimki.file.create("<html><body><h1>a new file!</h1></body></html>");
  f.publish("/new.html");

Parent

zimki.file