Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WB] Loading external files - Part 2

$
0
0
Hello to all

I'm developing a webdev project where i need to load some files from the user pc and save them in a blog field in a database.

As suggested by Mike Allison, i found in the button list, the UPLOAD button that enable me to open a dialog and select a file.
My needed:
After the file selection, i need to know the full pathname of the selected file and, unfortunately, the filename doesn't contains the full path (i imagine for security reasons).
I will explain why i need the full pathname:
The user will select one or multiple files at a time and i will store their pathname in a grid, then when it push the SAVE button (to save all the info about the record) it will read the grid items and extract the pathname to "re-read" the file contents and store it in the longblob field as a binary format.

Is there someone that can suggest me how to proceed??

Thanks in advance
Gianni

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>