<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>How to do file upload?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">I have this in renderContentOn: html</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">html heading: 'Upload the <A HREF="file:';">file:';</A> break;</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">form: [ html fileUploadWithCallback: [:f | self session loadFromFileNamed: f]; break; submitButton ].</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">The callback to fileUploadWithCallback gets a string which is the filename, but how do I retreive the contents of the file?&nbsp; </FONT></P>

</BODY>
</HTML>