![]() |
upload w/ script - Printable Version +- LetoDMS Community Forum (https://community.letodms.com) +-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4) +--- Forum: Feature Request (https://community.letodms.com/forumdisplay.php?fid=7) +--- Thread: upload w/ script (/showthread.php?tid=117) Pages:
1
2
|
RE: upload w/ script - atarifreak - 02-05-2012 hello, thank you for this gread script-thing :-) but i have big problems... allways got file is not readable. i dont know what to set to read that file. it is simple a txt-file in utils directory and its already set to 777. do whats the problem? i have tried full path and ./datei.txt bot no luck :-( i found php-function is_readable but i do not understand what it does. just got that else message above... and: i got this message on every file-input. also for non existing files! something wrong with my php? its Quote:PHP 5.3.6 (cli) (built: Nov 26 2011 15:20:01)on Synology DS111 RE: upload w/ script - steinm - 02-05-2012 (02-05-2012, 01:14 AM)atarifreak Wrote: hello, thank you for this gread script-thing :-) As I said, the script you may have found in utils is not ready for production and was made some time ago. I have to check myself, but I'm currently too busy with other stuff. Uwe RE: upload w/ script - atarifreak - 02-12-2012 (02-05-2012, 02:23 AM)steinm Wrote:realy simple thing:(02-05-2012, 01:14 AM)atarifreak Wrote: hello, thank you for this gread script-thing :-) in your shell-Script there are DOS CR/LF and ash-Shell on Synology-DS dont like that :-) remowing that ^M after php -f /usr/share/leotdms/utils/adddoc.php and it worked. no i need so change the owner of that file (it has become root and not www-data) |