On the persits site I found a manual section under the ASPUpload 3.0 heading...
In there I found this code for importing files into an ODBC
compliant database
<HTML>
<BODY>
<%
Set Upload = Server.CreateObject("Persits.Upload"

' Capture files
Upload.Save "c:\upload"
' Obtain file object
Set File = Upload.Files("THEFILE"
If Not File Is Nothing Then
' Build ODBC connection string
Connect = "Driver={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath(".\aspupload.mdb"
' If you use SQL Server, the connecton string must look as follows:
' Connect = "Driver=SQL Server;Server=MYSERVER;UID=sa;PWD=xxxxxxxxx"
' Build SQL INSERT statement
SQL = "INSERT INTO MYIMAGES(image_blob, filename, description, filesize) VALUES(?, '"
SQL = SQL & File.Filename & "', '"
SQL = SQL & Replace(Upload.Form("DESCR"

, "'", "''"

& "', "
SQL = SQL & File.Size & "

"
' Save to database
File.ToDatabase Connect, SQL
Response.Write "File saved."
Else
Response.Write "File not selected."
End If
%>
</BODY>
</HTML>
For export...
<%
Set db = Server.CreateObject("ADODB.Connection"

db.Open Connect
SQL = "SELECT * FROM MYIMAGES where id = " & Request("id"

Set rs =db.Execute( SQL )
Response.ContentType = "application/octet-stream"
' let the browser know the file name
Response.AddHeader "Content-Disposition", "attachment;filename=" & Trim(rs("filename"

)
' let the browser know the file size
Response.AddHeader "Content-Length", rs("filesize"

Response.BinaryWrite rs("image_blob"

%>
Hope these help
Griff