PHPExcel save in SharePoint Server 2007

Topics: Developer Forum, Project Management Forum, User Forum
Apr 26, 2010 at 8:02 AM


I'm like save my WorkBook Excel in SharePoint 2007 with Web Services but PhpExcel refuse.

This my Code :

$writer = new PHPExcel_Writer_Excel5($workbook);
$SharePoint = "http:\\\spaces\collaboratifchp\DocumentsEquipe\"
$writer->save($SharePoint . 'Enregistrement-'. date("Ymd") .'.xls');

And this Error PHPExcel :

This disk not found.


When open Excel 2007 and save as http:\\\spaces\collaboratifchp\DocumentsEquipe\Enregistrement-20010420.xls, it's Ok

Please, Help Me.



Apr 26, 2010 at 7:23 PM

Try using instead of http:\\\spaces\collaboratifchp\DocumentsEquipe\

Apr 27, 2010 at 7:46 PM

I'm try it. But I'm have a same error.

Apr 27, 2010 at 9:54 PM

It suggests that the process that is running PHPExcel doesn't have privilege to access the sharepoint drive. Can any PHP script write to that drive?