Need help with file uploads

File upload is causing me some grief, Any help would be appreciated. I have the file to upload but when it has special characters in the file name or commas the file will upload just fine and it will clean the file. For example if the user uploads a file named. (Advance Bank 7688 (1).pdf) it will rename it (Advance Bank 7688 1.pdf) But the file name that is inserted into the database is (Advance Ban 7688 (1).pdf) So when another user tries to download it the file of course does not exist. I have tied Renaming the file in the server connect it doesn’t seem to pass the value at all or I tried to rename all files with {guid}{ext}. and that value does not get passed either.

I have Tried this and the name values do not get passed to the database

and I have tried this and the name values do not as well for example Advance Bank 7886 1_2.pdf that gets uploaded but the name value will not show in the database

Any help or direction would help I have followed the helps and docs and none seem to cover what to do with uploading a name convention that would allow. Also it seems to ignore the overwrite option.

Did you select the value for the filename using the UI? I think it should be:

image

I did, I have even tried creating it from scratch and no matter what I choose the file name does not insert.

I just mentioned it because you have {{name}} in your screenshot, rather than {{upload1.name}}.

I just tested this with a filename with space and it worked as expected. Using Firefox developer tools might help:

Thank you, for some reason it wasn’t uploading when I saved the server connect file. So I had to go in the file manager and force the upload. Then it worked

1 Like