Forum


Replies: 3   Views: 76
Are we able to specify a custom file path to store generated files

Posted by dawenloni  · 11-10-2019 - 23:25

in the trial version, docx files are created (even temporary) under the root directory of the application, which is not secure. is it any option to specify a custom file path to locate generated files? and how?

Posted by dawenloni  · 14-10-2019 - 21:07

Thanks for the reply. I am able to specify a custom path, however, it works well in my localhost, but not in our dev server, those we already have 777 permission for the specified directory. we still get this:


Warning: filesize(): stat failed for /www/hosts/rebl.dev.ini.usc.edu/docs/application/controllers/docs/raf_Paul _Thompson_20191014131908.docx in /www/hosts/rebl.dev.ini.usc.edu/docs/application/controllers/report.php on line 446

Warning: readfile(/www/hosts/rebl.dev.ini.usc.edu/docs/application/controllers/docs/raf_Paul _Thompson_20191014131908.docx): failed to open stream: No such file or directory in /www/hosts/rebl.dev.ini.usc.edu/docs/application/controllers/report.php on line 448

 

We are using the trial version.