upload to database

Nov 18, 2008 at 7:56 AM
hello

is there any way to save the file into a database instead of a folder? do i have to create an own adapter for this? because i don't have a lot of experience with it.

thanks
Coordinator
Nov 18, 2008 at 3:48 PM
Yes you can create your own adapter as shown here: http://www.flajaxian.com/Flajaxian.com/FileUploader2.0Help.html#CustomAdapters it's easy. Or as an alternative you can use FileReceived event:

<script runat="server">
protected void FileReceived(Object sender, FileReceivedEventArgs e){
    // save to DB
}
</script>
<fjx:FileUploader ID="FileUploader1" runat="server" OnFileReceived="FileReceived">
</fjx:FileUploader>