Browse a file in the client machine for Web Client

Hi All,

I want to select a file in the client machine in the web client . I have made an image media field editable . It is allowing me to select a file . It is working fine for all text and image files . But it is not working for video file . When I am loading a video file and again saving it , it is getting corrupted . May be it is not getting the right content type. How can I select video files ?.

If I am going for HTML option “” in the HTML . I could able to browse . But how can I hold a file object for further processing or get the full client path . If any how I can get the full client path , that can work for me .

Please provide your feedback on this.

Thanks,
aks426.

Most likely your column isn’t large enough. When Servoy makes Media columns, it defaults to the smallest size. Open up a SQL tool for whatever DB your using, and make it a larger blob column so it can hold more. If you upload something too large, it will truncate, and corrupt.

Better option, if you don’t need to store that stuff in the database, (and you really shouldn’t be storing videos in the database), is to use Servoy’s File plugin. See http://wiki.servoy.com/display/public/D … OpenDialog