in reply to Re: Convert documents in CGI
in thread Convert documents in CGI <SOLVED>

Yes - i have been looking into the LibreOffice option - like i mentioned

not sure how to make it run as daemon and keep looking in the drop directory - can't be every X minutes cause it need to output the result on upload and not x minutes later but will look into that now

maybe keep a perl script ran as root running in the background (not CGI), checking the folder and when new file is found execute the converter - will see

thanks for the reply

Replies are listed 'Best First'.
Re^3: Convert documents in CGI
by 537mfb (Initiate) on Jun 24, 2011 at 09:52 UTC

    Well, I got this problem solved.

    Case anyone needs a hint on a similar problem, what i did was use a socket server script over TCP using use IO::Socket::INET and having it always on running as root, and it handles requests to convert files from the CGI script that in this case is a client.

    Thank you for the help.