PHPExcel save in SharePoint Server 2007

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

Hello,

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:\\store5000.mc2.gdfsuez.net\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:\\store5000.mc2.gdfsuez.net\spaces\collaboratifchp\DocumentsEquipe\Enregistrement-20010420.xls, it's Ok

Please, Help Me.

 

Micky

Coordinator
Apr 26, 2010 at 6:23 PM

Try using http://store5000.mc2.gdfsuez.net/spaces/collaboratifchp/DocumentsEquipe/ instead of http:\\store5000.mc2.gdfsuez.net\spaces\collaboratifchp\DocumentsEquipe\

Apr 27, 2010 at 6:46 PM

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

Coordinator
Apr 27, 2010 at 8: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?