![]() ![]() This will change the filename before upload and upload it correctly to our DB with those special characters! This makes me thing that it’s scriptcase that is blocking the upload. Our DB allows special characters, and if I upload a file with a normal name, and on the Event: beforeUpdate I do the following : I tried on the Event to intercept the filename before update, and swap the special characters with normal ones, but I guess there is a check in place from scriptcase, that as soon as not-allowed characters are present, it will pop the sweetalert with the error, not allowing me to change dynamically the filename. docx, and in its name it has a special character, for example : “ä” or “ü”, as soon as I load the file and press “Save” on the form, it will display a sweetAlert error with the message:Īnd if I remove the special characters from the file name, it will upload correctly. The issue I’m having is when we try to upload a file, for example a. I have a form where I can upload documents (varbinary) and I specified a DB column for the File Name as well. Multiple Image Upload is not working on run-time. I am just unsure how to convert the LONGBLOB method (FileUpload, FileName, FileSize - fields) to a FILE UPLOAD TO A FOLDER method (also not sure if I need 3 fields now).I have an issue with the document upload in Scriptcase, If several employees are working on the same database and grid and uploading files, they cannot know wether there is already an existing file on the server Suggestion : SC allows in onbeforeinsert event to change the filename so the developer has control over it. Unfortunately, the files is too big too upload to this forum. I’m really astonished that SC overwrites existing files without warning. ![]() You’d need to do some debugging to fix it. There the generated scriptcase code renames/moves the file somewhere else. You need to find the piece of code that tells where the file is saved. You can at least hack the generated code untill scriptcase fixes the issue. 5Mb size each) - I can upload about 20-30 and then it start with the loading errors - I am sure it must be a data limit error. See my others posts for fixes on file uploads. When User browse for a file the field keeps value with the path from where file is selected and after 1-2 seconds it is empty, with check box Delete this file. Upload is OK now, it was about privileges, but it is confusing about browsing files. F: save to a local file with the name given by name (may include a path). Re: Upload File (option Document - File name from ScriptCase) Failed. ![]() If I upload some of our newsletters (approx. D: send to the browser and force a file download with the name given by name. Like I said it is working fine up to a point - e.g. After choosing the name of your project, click in next and create a database connection to your system, we highly recommend you to use sqlite because you do not need to have a previously installed Database in your machine, afterwards. I can send my scriptcase & mysql file (with no data), should you wish to have a look at it. Create a new system in your Scriptcase clicking at create project or new project. Import files XLS, CSV and ACCESS Scriptcase offers an XLS, CSV and ACCESS spreadsheet import and. Scriptcase 9.10 is now available Check all the new features in the version. I think the better way forward will be to safe the files in a specified folder under the root directory - not to have any data size limit errors.ĭo you maybe have a tutorial on how to create the file upload input form to save the file to a folder, rather than in a LONGBLOB field in a table - in the Scriptcase environment?Īnd also a tutorial to create a viewing grid, showing a hyperlink to the file in the folder - that will download the file, once you click on the link? Scriptcase manages all the connection to the database in order to ease the creation process and maintenance of applications. ![]() We will do the upload part but would like More. We will provide you with the files that would be integrated to your existent scriptcase files. The max_allowed_packet=50M worked temporarily. Dear Client We have reviewed your job and ready to proceed to your project. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |