AnsweredAssumed Answered

Upload File

Question asked by eduandres01_9941 on Dec 17, 2008
Latest reply on Dec 17, 2008 by ajv
Hola a todos,
Quiero subir un archivo a alfresco mediante web scripsts, pero a un espacio determinado, como podria hacerlo?
Por ahora puedo subir el archivo solo al companyhome

upload = companyhome.createFile(filename) ;
  upload.properties.content.write(content);
  upload.properties.content.encoding = "UTF-8";
  upload.properties.content.mimetype = type;
  upload.properties.title = title;
  upload.properties.description = description;
  upload.save();

Gracias!! :D

Outcomes