here is some sample upload code
Code:
<%@ Import Namespace="System" %>
<%@ Import Namespace="System.Drawing" %>
<%@ Import Namespace="System.Drawing.Drawing2D" %>
<%@ Import Namespace="System.Drawing.Imaging" %>
<HTML>
<script language="VB" runat="server">
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)
System.IO.File.Delete(Server.Mappath("Uploads\temp2.ful"))
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
' Get a stream of data of the selected file.
Dim s As System.IO.Stream = File1.PostedFile.InputStream
Dim data(File1.PostedFile.ContentLength - 1) As Byte
s.Read(data, 0, File1.PostedFile.ContentLength)
' Create file on the server
Dim fs As System.IO.FileStream = New System.IO.Filestream(Server.Mappath("Uploads\temp.ful"), System.IO.FileMode.Create, System.IO.FileAccess.Write)
fs.Write(data, 0, File1.PostedFile.ContentLength - 1)
fs.Close()
s.Close()
' Open the file on the server and convert to Gif.
Dim newBitmap As Bitmap = New Bitmap(Server.Mappath("Uploads\temp.ful"))
newBitmap.Save(Server.Mappath("Uploads\temp2.ful"), ImageFormat.Gif)
newBitmap.Dispose()
' Set the Image control to path of the final image.
finalImage.ImageURL = "Uploads\temp2.ful"
End Sub
</script>
<HEAD>
<title>Image Converter</title>
</HEAD>
<body>
<form id="Form1" method="post" runat="server" enctype="multipart/form-data">
<asp:Label id="Label1" runat="server">Select A non-GIF Image to upload and convert to GIF :</asp:Label><br/>
<INPUT type="file" id="File1" name="File1" runat="server">
<asp:Button id="Button1" onclick="Button1_Click" runat="server" Text="Upload"></asp:Button>
<asp:Image id="finalimage" runat="server"/>
</form>
</body>
</HTML>
you will need to adapt that of course. And someone else will need to help on adding the file to oracle.