Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
problems with uploading Files (uppy) Topic is solved
-
- Posts: 30
- Joined: Wed Sep 06, 2023 12:45 am
Re: problems with uploading Files (uppy)
I've tried this for an file object created and after I upload the file it disappears, I'm using the above code for one file as well as created a database field as a blob. Is there something I'm missing? Thanks.
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
-
- Posts: 30
- Joined: Wed Sep 06, 2023 12:45 am
Re: problems with uploading Files (uppy)
I'm not certain, I have set up a file object, when I upload a file and click save, the file is no longer there and I can't see the file on the database side.
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: problems with uploading Files (uppy)
Uppy only upload files to the file system, not database.
See Input -> Target:
See Input -> Target:
You do not have the required permissions to view the files attached to this post.
-
- Posts: 30
- Joined: Wed Sep 06, 2023 12:45 am
Re: problems with uploading Files
This was an capability is MS-Access, it was called an OLE there. When creating a form in nubuilder, there is an object option called FILE:
In MYSQL it's called a BLOB. I'm wanting to upload word or pdf files into the database for storage. I've set up the object as a file / database and set up the MYSQL as a BLOB. Is there anything else needed? If there is a better way to do this please let me know.
Thanks
In MYSQL it's called a BLOB. I'm wanting to upload word or pdf files into the database for storage. I've set up the object as a file / database and set up the MYSQL as a BLOB. Is there anything else needed? If there is a better way to do this please let me know.
Thanks
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: problems with uploading Files (uppy)
The Input/File Object, is designed for straightforward file uploads such as photos and pictures etc.
However, since files are converted to JSON, this method is impractical for storing larger files (over 300 KB) due to slow upload times as file size increases.
For larger files, it is recommended to use Uppy and store the files on the file system, or develop a custom upload script capable of handling files exceeding 300 KB.
However, since files are converted to JSON, this method is impractical for storing larger files (over 300 KB) due to slow upload times as file size increases.
For larger files, it is recommended to use Uppy and store the files on the file system, or develop a custom upload script capable of handling files exceeding 300 KB.
-
- Posts: 30
- Joined: Wed Sep 06, 2023 12:45 am
Re: problems with uploading Files (uppy)
files would be word or pdf, sizes would always be under 300k, the same issue existed with access, larger file sizes had to use a more complicated method, the OLE could handle small doc and pdf file. is there something I need to do to get a word doc or pdf to upload and store? when I select the file and upload it is not there in the nubuilder form or in the back end when I check the database. thanks.
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: problems with uploading Files (uppy)
The Files form shows how to upload files to the database.
You can view the source code to see how it is done.
You can view the source code to see how it is done.