jcompagner wrote:What do you mean by launching a media file?
What are you trying to do
Riccardino wrote: So I park the path to the file in a field and I store a thumbnail in the database.
My question is: is there a way to launch the file even if the shared folder is not mounted on the desktop?
ahmad wrote:Riccardino wrote: So I park the path to the file in a field and I store a thumbnail in the database.
My question is: is there a way to launch the file even if the shared folder is not mounted on the desktop?
Why cannot you use "http:// " instead of storing the local path.
If you use the local path it will work only on the local machine it's running. If you deploy solution on the network you can access the file using the URL like (http://serverip:8080/yoursolutionfolder/filename.jpg")
In your solution you create a global field called
g_Url = http://serverip:8080/yoursolutionfolder/
and you just store the Image_Filename in a field and open the image by concatenating g_Url & Image_Filename
This should work.
Pls note that servoy is shipped with the built in web server. You can either use that or use any other web server if you installed on your Server machine
If this is not clear.. some other experts may help you
Thanks
Ahmad
jaleman wrote:Just store the file in the database. A SQL database is as efficient as a file system to store files in. The next version of windows will in fact use SQL Server as it's file system.
Riccardino wrote:jaleman wrote:Just store the file in the database. A SQL database is as efficient as a file system to store files in. The next version of windows will in fact use SQL Server as it's file system.
Mmmm: it would be a great solution, but won't it slow down the database?
jaleman wrote:Riccardino wrote:jaleman wrote:Just store the file in the database. A SQL database is as efficient as a file system to store files in. The next version of windows will in fact use SQL Server as it's file system.
Mmmm: it would be a great solution, but won't it slow down the database?
Not more than a filesystem would. Why do you think it would be slow?
jcompagner wrote:can you show me the log file contents when that happends (.log.txt)
jcompagner wrote:but that error that mysql gave you seems a configuration error of mysql itself!
You have to increase the package size as far as i can see you can't send blobs bigger 1M to mysql in that configuration
Users browsing this forum: No registered users and 30 guests