![]() So I chown’ed /_lib/file/doc to be apache: and that resolves apache’s ability to write to the folder. As it turns out the folder this all drops in is owned by another user on the server, and this was messing with apache’s ability to write the file into the folder. The fact that the permissions on /_lib/file/doc needed to allow apache to write to them. I don’t mind it appearing there instead of /vault… I just minded that the files did not seem to be going anywhere other than the tmp folder and with a random prefix that I could not create links to. It always puts the file in /_lib/tmp instead of moving the file to /vault/ so it would drop in /file/doc properly. It ignores my directive to create subfolders using the variables. ![]() With method #2 I can get the file to upload to the / lib/tmp folder, but Scriptcase modifies the file name to be something like sc#. I need a way for employees to access these files. Still, it’s frustrating to see the file there in the field with the proper byte size and have no way to access it other than using a third party utility like phpMyAdmin. This really does not break my heart, because the last thing I want is a bunch of file uploads bloating a table in my database and causing long-term havoc. With method #1 I can get the file to upload to the database in the binary_data field, but I cannot figure out how to write an application to retrieve the file from the database afterward.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |