Menu

wvWare producing 0 length files

Help
toni
2004-11-07
2013-06-04
  • toni

    toni - 2004-11-07

    Hi All,

    I'm trying to use wvWare to convert ms word docs to html documents on the fly. I've installed the latest version of the program on win2k and managed to run it fine using the command prompt.

    When I try and run it through a php script, though, it produces a blank html page, i.e. 0 bytes.

    The command I used to run it is:

    exec('E:\program files\gnuwin32\bin\wvWare.exe -d E:\Inetpub\wwwroot\bible\wordconv E:\Inetpub\wwwroot\bible\test.doc > E:\Inetpub\wwwroot\bible\wordconv\bible.html');

    Internet user account has full permissions to cmd.exe, waWare.exe and the .doc file and also the directory where the html file is to be written.

    Any ideas?

    Thanks,
    Toni

     
    • toni

      toni - 2004-11-09

      I found the solution!
      I had to install the Gnuwin32 portal into e:\gnuwin32 i.e. no spaces in the path like there is when you install into "program files".

      Toni

       

Log in to post a comment.