Urgent upload file problem

hi,
I updated a production environment from version 9.4 to 9.6 and now the upload forms of the scriptcase files have changed the file saving location,
previously the structure was
… /_ lib/file/doc1
where 1 is variabile subfolder name inserted in the code
now is:
… /_ lib/file/doc/1 where 1 is variabile subfolder name inserted in the code

doc has disappeared!!!
has anyone already had this problem?

I solved it by modifying the code generated by scriptcase, but WHY change a historical setting that is at least 8 years old?

:frowning_face: :face_with_monocle:

Hello, @marcosc .

Added “Keep old aspect of uploading files” option in the project properties.

Option added for users who did not use the forward slash symbol (/) when creating a subdirectory, in the image and document type fields. In this scenario, the files were stored directly in the “file” directory. If you use a file structure like this, you need to enable this flag. From 9.6 version, images and documents are being saved in the directories informed in the installation, that is, “file / img” for images and “file / doc” for documents, respectively.

Access the project properties interface (Menu: Project → Properties) and enable the option Keep old file upload layout. After enabling, generate the project source

1 Like

I have to generete ALL PROJECT?

Hello, @marcosc .

Yes. No problem

i tried with just publishing the app and it doesn’t work!

i have had the same problem. still manually updating all the forms…