![]() I have some posts about this where you can hack your code so you can check this out in the advanced search. Otherwise your php script would need to work in a dir that is filled with thousands of files, and hence it would be slower then you would need it. I strongly suggest making one directory for uploads and even using subdirectories to keep the speed high. So the temp should then NOT grow from those files. Normally a file is uploaded to the temp under a certain name (sc_something_somekey.extension) and then moved to the upload you have stored with your deployment. In your deployment paths you should put the upload directory. And as Albert said, you need advanced deployment for that as well. ![]() There is only one way in which you can do that, and that is by hacking into the generated php code. I tried to change the setting to “c:/bestanden/tmp” or something like that but you can do what you want but scriptcase stays on “/scriptcase/tmp” ![]() How can I prevent that the *.pdf comes on the server where scriptcase is running. Is there an other way to start a script in this casus. Second I donot want the file in a “/scriptcase/tmp” on the server. If there no other ideas for testing if the pdf exist in the database I want to use the fact that er comes a “temp-pdf-file” in the " /scriptcase/tmp" as an event for starting the script After that the user can complete it and submit it for archiving.īut before submitting and after uploading I see that the pdf comes in “/scriptcase/tmp” When the file exists the metadata in the record should fill the form. So far so good.īut what I want is in the moment that I do with drag and drop (or by choosing the file) the pdf in the form and after push upload, that there is a search in de the database if the file exists. This I managed with settings in the application (form, application, settings, document path). In fact the pdf is on a local machine (or network share) when starting the proces and should not be transported to the server on which scriptcase is running. I want to store the filename of a pdf in the database en to store the pdf itself in a map on a local machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |