I'm trying to automate PDF to SWF conversion using 'pdf2swf' and Media Mover custom commands.
Media Mover is suppose to start when uploading a PDF using a CCK field which is being detected, no problem.
Where it goes wrong is during the Media Mover process. I have set the parameters to
Output file: [nid].swf
Command: /usr/bin/pdf2swf -f -T 9 -t -G [data-harvest_file] -o [output_file]
Afterwards, it is supposed to be saved as a flash node.
The problem is no .swf-file is created. So I'm not sure if the harvested file get parsed correctly at all.
Comments
Comment #1
arthurf commentedcan you try running the command in the root of your drupal directory to see if there is any output then? It could also be the case that apache does not have rights to execute pdf2swf. I'm assuming you're using the custom command media mover module?
Comment #2
chinesechef commentedYes, I'm using custom command.
Running pdf2swf is working even in the Drupal root directory.
How can I check permissions for Apache?
Comment #3
chinesechef commentedSolved.
The correct command should be:
/usr/bin/pdf2swf -f -T 9 -t -G [harvest_file] -o [output_file]
Even though the token describes '[harvest_file] as Path to harvested file'. :S