Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
upload w/ script
#9
(12-30-2011, 08:46 PM)steinm Wrote:
(08-03-2010, 04:38 AM)hoedlmoser Wrote: I'd like to have the possibility to upload my just scanned documents (as pdf) automatically to the DMS.

means, just calling a certain function of letodms out of a eg bash-script which is run by cron.

do you see any possibility to just implement such a function? or just give me please a hint, which function of letodms to call to just upload a file.

gre3tings, Klaus

It is already there. The utils folder contains a script adddoc.php.

Uwe

Hi all,

thanks for that hint. I have found a script called letodms-addoc in the utils folder.

Trying to call that script results in following:

jupiter # php /var/www/htdocs/leto/utils/letodms-adddoc -f ./20111230_144537.pdf
Content-type: text/html
X-Powered-By: PHP/5.0.4

/usr/bin/php -f /usr/share/letodms/utils/adddoc.php -- $*
jupiter #


No real error message but in fact noting is performed. Any ideas?Huh

Regards,

Papershark


Reply


Messages In This Thread
upload w/ script - by hoedlmoser - 08-03-2010, 04:38 AM

Forum Jump:


Users browsing this thread: