WOFileUpload bindings
WOFileUpload bindings
- Subject: WOFileUpload bindings
- From: David Holt <email@hidden>
- Date: Sun, 12 Dec 2004 14:14:26 -0800
Hello all,
I am getting inconsistent behaviour from IE for Windows (inconsistent
when compared to Firefox or Safari, anyway) when I use this WOExtension
in WO 5.2.3.
I am uploading documents directly to a database so I am binding "data"
to the EO document.attachment and the "filePath" to EO
document.file_path. When using Safari or Mozilla the file stores in the
BLOB and just the filename ends up in the file_path field. Using IE the
data ends up in the BLOB, but the filename is set to the entire path to
the user's document on their file system. When you try and download it,
it gives the usual WO reference of a bunch of numbers. If you change
the filename in the Save As dialog, the data is fine and results in the
document being saved to the user's computer. The behaviour is
inconsistent only for the filePath binding. If you download a file that
has been uploaded from a Safari or Mozilla browser the filename is
displayed correctly in the Save as... dialog.
Should I be using different bindings in the WOFileUpload? Or is there
something I am overlooking? Is there anyone using this extension with
Windows to upload documents to a database?
thanks,
David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden