http://webobjects.mdimension.com/wonder/api/er/attachment/package-summary.html
it talks some about the variable replacement -- you can use $
{fileName}, but this is not really safe ... if someone uploads a file
with the same name, it's going to be overwritten unless you namespace
it with the pk in is own directory or something. you can make it
return the original filename to the user, though, if you're using one
of the proxied viewers (i.e. as long as you're not serving files from
apache).
On Jul 23, 2009, at 4:13 AM, Rukmal Dias wrote:
hi,
Is it possible to give file name that we want in uploading files
using ERAttachmentProcessor.
When a file is uploaded (e.g: style.css) it is in a folder like this.
.//1/attachments/c/8/9/1.css
How do I upload a file (e.g: my_file.gif) to the same above
location with the mentioned name.
Thanks
Rumal Dias
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com
This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]