[Seaside] Making a download page
aa at serendip.demon.co.uk
Fri Mar 11 10:12:39 UTC 2011
Thanks for looking at the headers. Here's the rest of my code:
html form multipart; with: [
html fileUpload callback: [ :f | self uploadFile: f ].
html submitButton text: 'Load' ]
file := (FileDirectory default directoryNamed: self filePath) assureExistence;
forceNewFileNamed: aFile fileName.
[ file binary; nextPutAll: aFile contents ]
ensure: [ file close ].
On Fri, 11 Mar 2011 11:11:45 +0200
Avi Shefi <avishefi at gmail.com> wrote:
> The headers look fine. I'm interested in your code, specifically from where
> you get a MultiByteFileStream.
> Could you elaborate please? maybe supply your code?
More information about the seaside